e-olymp
Competitions

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

Conditional statement - 3

Find the value of y according to condition:

prb8526.gif

Input

One integer x (-100x100).

Output

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

Time limit 1 second
Memory limit 128 MiB
Input example #1
3
Output example #1
0
Input example #2
-8
Output example #2
-3