hemanth baliji's submission of Valid Pair | CodeChef