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