Counting The Important Pairs | CodeChef