5572: World Cup世界杯(ABC262A)
内存限制:1024 MB
时间限制:2.000 S
评测方式:文本比较
命题人:
提交:0
解决:0
题目描述
Problem Statement:
A sport event is held in June of every year whose remainder when divided by $4$ is $2$.
Suppose that it is now January of the year $Y$. In what year will this sport event be held next time?
A sport event is held in June of every year whose remainder when divided by $4$ is $2$.
Suppose that it is now January of the year $Y$. In what year will this sport event be held next time?
当年份除以4的余数为2时,该年的6月份将会举行一项体育赛事。假设现在是年1月,下一次举办这项体育赛事将是哪一年?
输入
Y
输出
Print the answer.
样例输入 复制
2025
样例输出 复制
2026
提示
Constraints:
- $2000 \leq Y \leq 3000$
- $Y$ is an integer.
- $2000 \leq Y \leq 3000$
- $Y$ is an integer.
Sample 2:
```
2022
2022
```
The remainder when $2022$ is divided by $4$ is $2$, so if it is now January of $2022$, the next games will be held in June of the same year.