sgn function#8608

sgn function

1 second
128 megabytes
Very easy

Find the value of the sgn function:

sgn(x) = \begin{cases} 1, x > 0 \\ 0, x = 0 \\ -1, x < 0 \end{cases}

Input

One integer x~(-10^9 \le x \le 10^9).

Output

Print the value of the sgn function for the given value of .

Examples

Example 1

Loading
Loading

Example 2

Loading
Loading

Example 3

Loading
Loading