match int(input()): case 0: print(1) case 1: print(0)