#P1663B. Mike's Sequence

    ID: 1297 远端评测题 1000ms 256MiB 尝试: 0 已通过: 0 难度: (无) 上传者: 标签>*special problemdivide and conquerimplementationmath

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.

2999
3000