Testing your code..
For the given integer x (take x from input) print 1 if it's positive, -1 if it's negative, or 0 if it's equal to zero.
Example input
179
Example output
1