Special Day | 프로그래밍의 벗 PivotOJ
PivotOJ

Special Day

시간 제한: 1000ms메모리 제한: 256MB출처: CCC 2015 JuniorBOJ 10768

문제

February 18 is a special date for the CCC this year.

Write a program that asks the user for a numerical month and numerical day of the month and then determines whether that date occurs before, after, or on February 18.

If the date occurs before February 18, output the word Before. If the date occurs after February 18, output the word After. If the date is February 18, output the word Special.

입력

The input consists of two integers each on a separate line. These integers represent a date in 2015.

The first line will contain the month, which will be an integer in the range from 1 (indicating January) to 12 (indicating December).

The second line will contain the day of the month, which will be an integer in the range from 1 to 31. You can assume that the day of the month will be valid for the given month.

출력

Exactly one of Before, After or Special will be printed on one line.

예제

예제 1

입력
1
7
출력
Before

예제 2

입력
8
31
출력
After

예제 3

입력
2
18
출력
Special
코드를 제출하려면 로그인하세요.