X = int(input()) print(1-X)