Problem: Adilbek was assigned to a special project. For Adilbek it means that he has days to run a special program and provide its results. But there is a problem: the program needs to run for days to calculate the results.
Fortunately, Adilbek can optimize the program. If he spends ( is a non-negative integer) days optimizing the program, he will make the program run in days ( is the ceiling function: , ). The program cannot be run and optimized simultaneously, so the total number of days he will spend is equal to .
Will Adilbek be able to provide the generated results in no more than days?
Input Format: The first line contains a single integer () — the number of test cases.
The next lines contain test cases – one per line. Each line contains two integers and (, ) — the number of days before the deadline and the number of days the program runs.
Output Format: Print answers — one per test case. For each test case print YES (case insensitive) if Adilbek can fit in days or NO (case insensitive) otherwise.
Note: In the first test case, Adilbek decides not to optimize the program at all, since .
In the second test case, Adilbek can spend day optimizing the program and it will run days. In total, he will spend days and will fit in the limit.
In the third test case, it's impossible to fit in the limit. For example, if Adilbek will optimize the program days, it'll still work days.