Maciej Gawron's submission of Little Elephant and Permutations | CodeChef