A Special Day
Time limit1sMemory limit256 MB
Compare the given month and day against February 18 and print Before, After, or Special.
- Level
Easy1 of 10
- Topics
- Implementation
- Solved
- No attempts yet
Problem
February 18 is the special day of this year's CCC.
Read a month and a day as integers, then decide whether that date comes before February 18, comes after February 18, or is February 18 itself.
If the date comes before February 18, print Before. If it comes after February 18, print After. If it is February 18, print Special.
Input
The first line contains an integer , the month. ()
The second line contains an integer , the day within that month. ()
Day of month is a date that really exists in the year 2015.
Output
Print one of Before, After, or Special on a single line.