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 1

Conditional statement - 1

Find the value of y according to condition:

prb8520.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
2
Output example #1
2
Input example #2
10
Output example #2
17