Contest Duration: - (local time) (100 minutes) Back to Home
A - World Cup /

Time Limit: 2 sec / Memory Limit: 1024 MB

### 問題文

あるスポーツ大会は西暦年を 4 で割った余りが 2 である年の 6 月に開催されます。

### 制約

• 2000 \leq Y \leq 3000
• Y は整数

### 入力

Y


### 入力例 1

2022


### 出力例 1

2022


20224 で割った余りが 2 なので、現在が西暦 2022 年の 1 月である時、次の開催は同年の 6 月です。

### 入力例 2

2023


### 出力例 2

2026


### 入力例 3

3000


### 出力例 3

3002


Score : 100 points

### 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?

### Constraints

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

### Input

Input is given from Standard Input in the following format:

Y


### 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