def check(num):
if num > 0:
return 1
elif num < 0:
return -1
elif num == 0:
return 0
a = int(input())
if a == 0:
print(0)
if a < 0:
print(-1)
if a > 0:
print(1)
def check(num):
if num > 0:
return 1
elif num < 0:
return -1
elif num == 0:
return 0
a = int(input())
if a == 0:
print(0)
if a < 0:
print(-1)
if a > 0:
print(1)