# Monthly Budget solution codechef

## Monthly Budget solution codechef

Akshat has XX rupees to spend in the current month. His daily expenditure is YY rupees, that is, he spends YY rupees each day. Since the current month has 3030 days, find out if Akshat has enough money to cover his daily expenses for this month.

### Input Format

• The first line will contain TT – the number of test cases. Then the test cases follow.
• The first and only line of each test case contains two integers XXYY – the amount of money Akshat has for the current month and his daily expenditure respectively.

### Monthly Budget solution codechef

For each test case, output YES if Akshat has enough money to meet his daily expenditure for 3030 days of the month, otherwise output NO.

You may print each character of YES and NO in uppercase or lowercase (for example, yesyEsYes will be considered identical).

### Monthly Budget solution codechef

• 1T1001≤T≤100
• 1X,Y1051≤X,Y≤105

### Sample Input 1

3
1000 10
250 50
1500 50

[Coding] Monthly Budget solution codechef
YES
NO
YES


### Monthly Budget solution codechef

Test Case 11: Akshat has 10001000 rupees and he wants to spend 30×10=30030×10=300 rupees in the entire month. Therefore, he has enough money for the entire month.

Test Case 22: Akshat has 250250 rupees and he wants to spend 30×50=150030×50=1500 rupees in the entire month. Therefore, he does not have enough money for the entire month.

Test Case 33: Akshat has 15001500 rupees and he wants to spend 30×50=150030×50=1500 rupees in the entire month. Therefore, he has enough money for the entire month.