Help Ron

1

1 votes
Easy
Problem

Harry and Ron are playig PUBG together. Ron is so busy looting the guns, he doesn't notice the playing zone has been decreased. If you're unfamiliar with PUBG rules, know that if you're out of the playing zone, your health starts decreasing slowly. So here, Ron's health starts to decrease. Harry has healthpack which can be used to restore Ron's health and save him from getting knocked out. But, he's 'd' distance (in meters) away from him. Assume that

  • Time taken to apply the bandage is 2 seconds.
  • Harry has consumed painkillers so his health isn't decreasing.
  • Ron's health is reducing by 5 units per second.
  • Initial health of Ron is 'H', and it's maximum value is 100. While minimum is 0.
  • If H drops below 0, Ron gets knocked out.
  • Harry's running speed is 10 m/s.

If Harry gives healthpack to Ron in time and he applies it before his health drops below 0, Ron will be saved.

Input

  • The first line of the input contains a single integer T denoting the number of test cases.
  • The first and the only line of each test case contains two space separated integers : h (initial health of Ron) and d (distance between Harry and Ron)

Output

For each test case, if Harry is able to save Jon, print 'no', else print 'yes'.

Constraints

  • 1 ≤ T ≤109
  • 0 ≤ h ≤100
  • 0 ≤ d ≤500
Time Limit: 5
Memory Limit: 256
Source Limit:
Editor Image

?