h=Hash.new{0};gets;gets.split.map{|s|h[s]+=1};p h.count{|k,v|v<2}