시간 제한메모리 제한제출정답맞힌 사람정답 비율
2 초 512 MB78327525135.452%

문제

The Olympic Games in Rio cannot have escaped your attention! 2016 is a summer Olympics year.

The modern summer Olympic Games were first held in 1896, and have been held at 4 yearly intervals since then, except during the two world wars (1914 to 1918 and 1939 to 1945). The next games are scheduled to be held in Tokyo in 4 years time.

입력

Input will consist of a list of years, one per line, in the range 1860 to 2030 inclusive. The final year will be 0 – do not process that year.

출력

Output is one line per year. The year is given followed by:

Summer Olympics - if the summer Olympic Games were held, or are scheduled to be held in that year.

Games cancelled - if the summer games should have been held but there was a war.

No city yet chosen - if it is a future summer Olympic year but no city has yet been awarded the games

No summer games - otherwise.

예제 입력 1

1896
1902
1916
2024
2016
0

예제 출력 1

1896 Summer Olympics
1902 No summer games
1916 Games cancelled
2024 No city yet chosen
2016 Summer Olympics