#39834: python一行解


76075charlie (納梨子)


print(abs(int(input())-1))