var x = readLine(stdin) if x == "0": echo 1 else: echo 0