### main

while true
  n = gets.strip.to_i
  break if n == 0

  counts = 10.times.map{0}

  n.times.each do
    k = gets.strip.to_i
    counts[k] += 1
  end

  for c in counts
    puts (c > 0 ? "*" * c : '-')
  end
end