print 0 if int(raw_input()) == 1 else 1