Gapplet

Give a set of permutations generating a group G and a prime p, we find an element of order p in G.

Give a sequence of permutations,  
e.g., (1,2,3)(4,6), (4,5,6,7)
Give a prime number p 
 
G denotes the groups given by the permutations  
 
The following is an element of order p belonging to G