print 0 if int(raw_input()) else 1