It's FIFA World Cup time, and everyone is excited to watch the final match between Argentina and France. Bob and his friends have decided to watch the match together in the auditorium of Daffodil International University, as more than five thousand people are expected to attend.
After an intense fight, Argentina has won the title of World Champion of FIFA 2022. Now it is time to return home. Bob and his friends want to go to Mirpur by DIU transport (bus) named SURJOMUKHI. Therefore, they need to purchase tickets from the ticket counter. Note that the counter sells tickets without consideration of the availability of seats.
They are friends including Bob. So they need at least tickets and also need to check if at least seats are available on the bus or not, before purchasing tickets.
Given the number of friends , the available number of tickets , and the total number of seats available on the bus, can you determine whether they can successfully travel to Mirpur or not?
Single line of the test case contains three integer and separated by space — indicating number of friends, available number of tickets, and total number of seats available, respectively.
Print “Yes” (without quotes) if they can travel successfully, otherwise print “No” (without quotes).
Input | Output |
---|---|
4 4 4 | Yes |
Input | Output |
---|---|
5 3 6 | No |
There are 5 friends and 3 tickets are available, along with 6 seats available on the bus, as 3 tickets are not sufficient for 5 people that’s why they can’t travel. |
Input | Output |
---|---|
5 6 6 | Yes |