codeforces#P1663B. Mike's Sequence

Mike's Sequence

Description

You won't find this sequence on OEIS.

One integer $r$ ($-45 \le r \le 2999$).

One integer.

Input

One integer $r$ ($-45 \le r \le 2999$).

Output

One integer.

Samples

2999
3000