#53448: 別被-1教壞了


yaoyuanou@gmail.com (歐曜源)


print(int(input())^1)