main=do n<-readLn if n==0 then print 1 else print 0