# chef on date solution codechef

Chef and his girlfriend go on a date. Chef took XX dollars with him, and was quite sure that this would be enough to pay the bill. At the end, the waiter brought a bill of YY dollars. Print "YES" if Chef has enough money to pay the bill, or "NO" if he has to borrow from his girlfriend and leave a bad impression on her.

### chef on date solution codechef

• The first line of input will contain a single integer TT, denoting the number of test cases.
• Each test case consists of a single line of input, containing two space-separated integers XX and YY.
• Chef has recently started playing chess, and wants to play as many games as possible.

He calculated that playing one game of chess takes at least 2020 minutes of his time.

Chef has NN hours of free time. What is the maximum number of complete chess games he can play in that time?

### Output Format

For each test case, output on a new line "YES" if Chef has enough money to pay the bill and "NO" otherwise.

You may print each character of the string in either uppercase or lowercase (for example, the strings "yEs""yes""Yes" and "YES" will all be treated as identical).

### chef on date solution codechef

• 1T1001≤T≤100
• 1X,Y1001≤X,Y≤100

### Sample Input 1

4
1 1
1 2
2 1
50 100


chef on date solution codechef

YES
NO
YES
NO


### Explanation

Test case 11: Since the money Chef has is equal to the bill, he will be able to pay the bill.

Test case 22: Since the money Chef has is less than the bill, he will have to borrow from his girlfriend and leave a bad impression on her.

Test case 33: Since the money Chef has is greater than the bill, he will be able to pay the bill.

Test case 44: Since the money Chef has is less than the bill, he will have to borrow from his girlfriend and leave a bad impression on her.