e-olymp
favorite We need a little bit of your help to keep things running, click on this banner to learn more
Competitions

Week 2: November 16 – 22. Conditional statement. 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