Problem Statement:
In 2013 NASA decided to build a city in Mars in year 2023 and now they are asking people who wants to volunteer to live in Mars for the rest of their lives.

Whoever passed the screening and the interview will receive training from now till 2013 on how to work and live in space.

As so many people apply for this opportunity, we want you to help make the screening process automated by making a program that will decide who will pass and who will fail

Only people with the following criteria will pass the screening process:

Weight must equal the height minus 100
Height must be more than or equal 170
Health test must pass by 90% or more


Input Format:
N number of applications
N lines each contain weight, height and health test result

0< N < 10,000,000

weight and height will be positive and less than 500

health test result will vary from 0% to 100%


Output Format:
N lines each contain "PASS" or "FAIL" as described in the


Sample Input:
4 85 185 93% 70 171 100% 60 160 99% 70 170 90%


Sample Output:
PASS FAIL FAIL PASS





Added by: gammal
Added at: 2015-04-11 07:00:00 UTC
Time Limit: 1 second
Partial score: No