The mathematical function sign(x) is defined as: sign(x) = 1 if x > 0, sign(x) = -1 if x < 0, sign(x) = 0 if x = 0. Output the value of sign(x) for the given number.
A single number x is entered.
Print the solution to the problem.
[{'input': '179', 'output': '1'}]