Sourav Goyal's submission of Make a Permutation | CodeChef