Problem9783--ABC262 —— A - World Cup

9783: ABC262 —— A - World Cup

[Creator : ]
Time Limit : 1.000 sec  Memory Limit : 512 MiB

Description

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 1 Input

2022

Sample 1 Output

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 2 Input

2023

Sample 2 Output

2026

Sample 3 Input

3000

Sample 3 Output

3002

Source/Category