시간 제한 메모리 제한 제출 정답 맞은 사람 정답 비율
1 초 256 MB 1034 743 691 73.277%

문제

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+XHJcblxyXG48cD5cdWMwYWNcdWM2YTlcdWM3OTBcdWI4NWNcdWJkODBcdWQxMzAgXHVjODE1XHVjMjE4XHVjNzc4IFx1YzZkNFx1YWNmYyBcdWM3N2NcdWM3NDQgXHVjNzg1XHViODI1XHViYzFiXHVjNTQ0IFx1YjBhMFx1YzlkY1x1YWMwMCAyXHVjNmQ0IDE4XHVjNzdjXHVjNzc4XHVjOWMwIFx1YzgwNFx1Yzc3OFx1YzljMCBcdWQ2YzRcdWM3NzhcdWM5YzBcdWI5N2MgXHVjZDljXHViODI1XHVkNTU4XHViMjk0IFx1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