Chef has to travel to another place. For this, he can avail any one of two cab services.
- The first cab service charges X rupees.
- The second cab service charges Y rupees.
Chef wants to spend the minimum amount of money. Which cab service should Chef take?
For each test case, we have to compare which of the cabs, first or the second incurs lesser charge.
This can be done by comparing the first cab and the second cab charges. If the first cab costs less we have to print FIRST, otherwise if the second cab costs less we have to print SECOND and in the case where both charge equally we have to print ANY.
O(1) for each test case.