x = gets.to_i if x == 0 puts 1 else puts 0 end