Find the value of y according to condition:
One integer x~(-1000 \le x \le 1000).
Print the value of y according to the conditional statement above.
Example 1
Example 2