atcoder#ABC262A. [ABC262A] World Cup

[ABC262A] World Cup

Score : 100100 points

Problem Statement

A sport event is held in June of every year whose remainder when divided by 44 is 22. Suppose that it is now January of the year YY. In what year will this sport event be held next time?

Constraints

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

Input

Input is given from Standard Input in the following format:

YY

Output

Print the answer.

2022
2022

The remainder when 20222022 is divided by 44 is 22, so if it is now January of 20222022, the next games will be held in June of the same year.

2023
2026
3000
3002