시간 제한메모리 제한제출정답맞힌 사람정답 비율
1 초 512 MB139846461.538%

문제

You are an eccentric billionaire with an affinity for sending stuff to Mars. In an ideal world you would send stuff to Mars all the time, but your engineers tell you that it is most efficient to do it when Earth and Mars are somewhat close to each other.

Your engineers have calculated that optimal launch windows occur once every 26 months, and that one of them occurs in April 2018. They also tell you that they will not have any Big Finished Rockets by then, so you will have to wait for a later launch window.

Since your rocket scientists apparently can not be bothered to tell you about the optimal launch windows before it is too late, you have to keep track of that yourself. Write a program that determines if there is an optimal launch window in any given year.

입력

The only line of input contains an integer y (2018 ≤ y ≤ 10000), the year you are interested in.

출력

Output “yes” if there is an optimal launch window in the year y, otherwise output “no”.

예제 입력 1

2018

예제 출력 1

yes

예제 입력 2

2019

예제 출력 2

no

예제 입력 3

2020

예제 출력 3

yes

예제 입력 4

2028

예제 출력 4

no

출처

Contest > KTH Challenge > KTH Challenge 2018 E번

  • 문제를 만든 사람: Mårten Wiman