($names[$name]) ? $names[$name] + 1 : 1); }$n = readline(); for($i = 0; $i < $n ; $i++) { $name = readline(); $names[$name] = (isset