Chef has to travel to another place. For this, he can avail any one of two cab services.
- The first cab service charges
- rupees.
Chef wants to spend the minimum amount of money. Which cab service should Chef take?
Input Format
- The first line will contain
- - the prices of first and second cab services respectively.
Output Format
For each test case, output FIRST if the first cab service is cheaper, output SECOND if the second cab service is cheaper, output ANY if both cab services have the same price.
You may print each character of FIRST, SECOND and ANY in uppercase or lowercase (for example, any, aNy, Any will be considered identical).
Constraints
Sample Input 1
3
30 65
42 42
90 50
Sample Output 1
FIRST
ANY
SECOND
Explanation
Test case
: The first cab service is cheaper than the second cab service.
Test case
: Both the cab services have the same price.
Test case
: The second cab service is cheaper than the first cab service.
No comments:
Post a Comment