x = int(input()) if x: print(0) else: print(1)