Shivam Kumar Singh's submission of Good Permutation | CodeChef