gets;p gets.split.group_by{|i|i}.select{|k,v|v.size==1}.size