sugnay ghodasara's submission of Good Permutations | CodeChef