Ashwin Ramachandran's submission of Valid Pair | CodeChef