#38971: python


zerovbulitania@gmail.com (whitez)


x = int(input())
x = (int(x>0))*2 - (bool(x))
print(x)