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