Problem B
Mars Window
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.
Input
The only line of input contains an integer $y$ ($2018 \le y \le 10000$), the year you are interested in.
Output
Output “yes” if there is an optimal launch window in the year $y$, otherwise output “no”.
Sample Input 1 | Sample Output 1 |
---|---|
2018 |
yes |
Sample Input 2 | Sample Output 2 |
---|---|
2019 |
no |
Sample Input 3 | Sample Output 3 |
---|---|
2020 |
yes |
Sample Input 4 | Sample Output 4 |
---|---|
2028 |
no |