#45017: python一行解


x__1 (^_^ 809-34)


print(int(bool(int(input())-1)))