Problems
sgn function
sgn function
Find the value of the sgn function:
sgn(x) = \begin{cases}
1, x > 0 \\
0, x = 0 \\
-1, x < 0
\end{cases}
Input data
One integer x~(-10^9 \le x \le 10^9).
Output data
Print the value of the sgn function for the given value of x.
Examples
Input example #1
4
Output example #1
1
Input example #2
0
Output example #2
0
Input example #3
-2
Output example #3
-1