Find the value of y according to the following condition:
One integer x~(-10^4 \le x \le 10^4).
Print the value of y according to the given condition.
Example 1
Example 2