print(1) if not int(input()) else print(0)