Tushar Gautam's submission of Permutation Composition Queries | CodeChef