a = gets.to_i if a == 0 puts "1" elsif a == 1 puts "0" end