# your code goes here a=STDIN.gets.to_i if a==0 puts 1 else puts 0 end