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