# print('Input:')
# c= int(input())
# print (c*2)
#
# s=input()
# print("s = ", s)
#
# name= input("Enter your name")
# print("Hello, ", name, "!")
#
a = int(input())
# b = int(input())
# print (a*b)
#
print (a>0)