eolymp
bolt
Try our new interface for solving problems
Problems

sgn function

sgn function

Time limit 1 second
Memory limit 128 MiB

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