P24363 [AtCoder] World Cup
入门
题目描述

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?

Input

Input is given from Standard Input in the following format:
Y

Output

Print the answer.

Constraints

  • $2000 \leq Y \leq 3000$
  • Y is an integer.

Sample Input 1

2022

Sample Output 1

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.

Sample Input 2

2023

Sample Output 2

2026

Sample Input 3

3000

Sample Output 3

3002

输入格式

见题面 Input 部分

输出格式

见题面 Output 部分

样例输入
2022
样例输出
2022