x = input(x) print(x^1)