An injective function from a finite set to itself is surjective: its image of a function contains as many distinct elements as the entire set, so it cannot omit one. Thus every element of is a bijection, and conversely every bijection is injective. Hence
It is a group under function composition by i.