Problem2386--World Cup

2386: World Cup

[Creator : ]
Time Limit : 1.000 sec  Memory Limit : 128 MB

Description

Time Limit: 2 sec / Memory Limit: 1024 MB

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

  • 2000 \leq Y \leq 30002000Y3000
  • YY is an integer.

Input

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

Output

Print the answer.

Sample Input Copy

2023

Sample Output Copy

2026

Source/Category