e-olymp
Competitions

Programming Principles 1. Week 2. September 9 - 15. PART 2

Conditional statement - 5

Find the value of y according to condition:

prb8613.gif

Input

One integer x (-1000x1000).

Output

Print the value of y according to the conditional statement above.

Time limit 1 second
Memory limit 128 MiB
Input example #1
8
Output example #1
1380
Input example #2
-11
Output example #2
-4206