hot4ice4's submission of Good Pairs | CodeChef