Masoom Mittal's submission of Good Pairs | CodeChef