Sagar Pathare's submission of Permutation Composition Queries | CodeChef