#abc262a. A - World Cup
A - World Cup
Score : points
问题陈述
每年六月会举行一场体育赛事,当该年份除以4时余数为2。 假设现在是年份Y的一月份,这场体育赛事下一次将在哪一年举行?
以上为通义千问 qwen-max 翻译,仅供参考。
Problem Statement
A sport event is held in June of every year whose remainder when divided by is .
Suppose that it is now January of the year . In what year will this sport event be held next time?
Constraints
- is an integer.
Input
Input is given from Standard Input in the following format:
Output
Print the answer.
Sample Input 1
2022
Sample Output 1
2022
The remainder when is divided by is , so if it is now January of , the next games will be held in June of the same year.
Sample Input 2
2023
Sample Output 2
2026
Sample Input 3
3000
Sample Output 3
3002
update @ 2024/3/10 11:05:34