b=gets.split(/\s/).map(&:to_i) (1..10).each{|i| puts i if !b.include?(i)}