JAY KUMAR's submission of Beautiful Pairs | CodeChef