Yash Kulkarni's submission of Distinct Pairs | CodeChef