Sign of a number#41

Sign of a number

1 second
64 megabytes
Very easy (≈850)

The program needs to read an integer from the console and then output -1, 0, or 1 depending on whether the input is negative, zero, or positive, respectively.

Input:

A single integer.

Output:

The signum of the provided number.

Examples

Example 1

Loading
Loading

Example 2

Loading
Loading

Example 3

Loading
Loading