Ezio can manipulate at most
number of guards with the apple of eden.
Given that there are
number of guards, predict if he can safely manipulate all of them.
Input Format
- First line will contain
- .
Output Format
For each test case, print
if it is possible for Ezio to manipulate all the guards. Otherwise, print.
You may print each character of the string in uppercase or lowercase (for example, the strings
, , andwill all be treated as identical).
Constraints
Sample Input 1
3
5 7
6 6
9 1
Sample Output 1
NO
YES
YES
Explanation
Test Case
: Ezio can manipulate at most guards. Since there areguards, he cannot manipulate all of them.
Test Case
: Ezio can manipulate at most guards. Since there areguards, he can manipulate all of them.
Test Case
: Ezio can manipulate at most guards. Since there is only guard, he can manipulate the guard.
No comments:
Post a Comment