Chef has recently moved into an apartment. It takes minutes for Chef to reach office from the apartment.
Chef left for the office minutes before Chef was supposed to reach. Determine whether or not Chef will be able to reach on time.
- The first line of input will contain a single integer , denoting the number of test cases.
- Each test case consists of a single integer .
For each test case, output
YES if Chef will reach on time,
The output is case-insensitive. Thus, the strings
Yes are all considered the same.
Test case 1: Chef leaves minutes before he is supposed to reach, so he will reach the office exactly on time since it takes minutes to commute.
Test case 2: Chef will reach minutes early.
Test case 3: Chef will reach 16 minutes late.
CodeChef solution TIMELY - Reach on Time Codechef solution in C,C++