Gapplet

Given a sequence of permutations generating a group H and a sequence of permutations generating a group K determine the subgroup H K of the corresponding symmetric group.

Input H 
Input K 
 
H K