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