After winning his Fortnite game, Mr. DeMello decided to play
Each of these games has a score for Mr. DeMello,
Mr. DeMello wins a game if he has strictly more points than his opponent.
Can you tell DeMello how many of the
Constraints
Input Specification
The first line will contain an integer,
The next
Output Specification
Output the number of games Mr. DeMello won.
Sample Input
Copy
6
0 0
1 0
21 21
20 21
5 3
16 3
Sample Output
Copy
3
Explanation for Sample Output
Mr. DeMello only wins
Comments