Mohan Abhyas's submission of Distinct Pairs | CodeChef