#55240: 一行解-py(16ms)


st9821888@grjh.tn.edu.tw (py)


print(1 - int(input()))