#35740: BASIC 的 SGN 函數


108081a1@gm.chihlee.edu.tw (何姿儀)


n = int(input())
if n > 0:
    print(1)
elif n < 0:
    print(-1)
else:
    print(0)