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