Not Acceptable

ABC 406

Problem 10 of 50

Easy

What to do

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'.

Key Concepts

if-statements comparison basic input/output integer handling

Examples

Input: 22 40 22 30

Output: Yes

Input: 22 40 22 45

Output: No

Tips for Beginners

  • Focus on understanding the logic, not memorizing syntax
  • Use print statements to debug your code
  • Don't worry about input parsing - the function handles that for you
  • If stuck, try writing out your solution on paper first

Python Editor

Loading Python...