You need to check if a student submitted their report before a deadline. If the submission time is earlier than the deadline, you should say 'Yes'; otherwise, say 'No'.
Input: 22 40 22 30
22 40 22 30
Output: Yes
Yes
Input: 22 40 22 45
22 40 22 45
Output: No
No