gets a=gets.split p a.uniq.count{|e|a.count(e)<2}