Problem B: Bouncing Bowling Ball

You throw a bowling ball of diameter 20 cm down a 1.05 meter wide bowling lane at an angle of X degrees, releasing the ball from the center position of the lane (see diagram).

The lane is equipped with bumpers that bounce the ball off at exactly the same angle as its incoming angle. A single 12 cm wide pin in the head pin position (pin 1) is centered T meters down the lane. Do you hit the pin?

Input Format

Input starts with an integer N on a line - the number of test cases, N lines follow. Each test case consist of a floating point number T (distance between bowling ball and the pin in meters, 16.0<=T<=18.0) and an integer X (the release angle in degrees, measured from the center line, 10<=X<=80), separated by space.

Output Format

For each test case there will be one line of output. Print either "yes" if the bowling ball hits the pin. Otherwise print "no".

Sample Input

18.00 80
16.39 16

Sample Output


Peter Høyer
ACPC 2012