시간 제한 메모리 제한 제출 정답 맞은 사람 정답 비율
1 초 256 MB 1059 766 712 73.706%

문제

2월 18일은 올해 CCC에 있어서 특별한 날이다.

사용자로부터 정수인 월과 일을 입력받아 날짜가 2월 18일인지 전인지 후인지를 출력하는 프로그램이다.

만약 날짜가 2월 18일 전이면, "Before"을 출력한다. 만약 날짜가 2월 18일 후면, "After"을 출력한다. 만약 2월 18일이라면 "Special" 을 출력한다.

입력

입력은 두 개의 정수가 각 줄에 걸쳐 입력된다. 이 정수들은 2015년의 날짜에 포함된다.

첫 번째 줄은 1에서 12사이의 월을 입력한다.

두 번째 줄은 1에서 31사이의 그 달에 들어있는 날짜를 입력한다 .

출력

마지막 줄에 "Before", "After"나 "Special"을 출력한다.

예제 입력 1

1
7

예제 출력 1

Before

예제 입력 2

8
31

예제 출력 2

After

예제 입력 3

2
18

예제 출력 3

Special
W3sicHJvYmxlbV9pZCI6IjEwNzY4IiwicHJvYmxlbV9sYW5nIjoiMCIsInRpdGxlIjoiXHVkMmI5XHViY2M0XHVkNTVjIFx1YjBhMCIsImRlc2NyaXB0aW9uIjoiPHA+Mlx1YzZkNCAxOFx1Yzc3Y1x1Yzc0MCBcdWM2MmNcdWQ1NzQgQ0NDXHVjNWQwIFx1Yzc4OFx1YzViNFx1YzExYyBcdWQyYjlcdWJjYzRcdWQ1NWMgXHViMGEwXHVjNzc0XHViMmU0LjxcL3A+XHJcblxyXG48cD5cdWMwYWNcdWM2YTlcdWM3OTBcdWI4NWNcdWJkODBcdWQxMzAgXHVjODE1XHVjMjE4XHVjNzc4IFx1YzZkNFx1YWNmYyBcdWM3N2NcdWM3NDQgXHVjNzg1XHViODI1XHViYzFiXHVjNTQ0IFx1YjBhMFx1YzlkY1x1YWMwMCAyXHVjNmQ0IDE4XHVjNzdjXHVjNzc4XHVjOWMwIFx1YzgwNFx1Yzc3OFx1YzljMCBcdWQ2YzRcdWM3NzhcdWM5YzBcdWI5N2MgXHVjZDljXHViODI1XHVkNTU4XHViMjk0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