pranay varma's submission of Valid Pair | CodeChef