Maciej Gawron's submission of Permutation Shuffle | CodeChef