#32579: Python 不用if, 乘個(-1)就好


byianchenglolman@gmail.com (施彥丞)


x = int(input())

y = (x - 1) * (-1)

print(y)