while true
    n = STDIN.gets.to_i
    exit 0 if n==0
    max = 10000
    data = Array.new(max)
    for i in 0..max-1 do
        data[i] = 0
    end
    num_type = 0
    for i in 0..n-1 do
        type = STDIN.gets.to_i
        data[type] = data[type]+1 
        num_type = type if type > num_type
    end
    for i in 0..num_type do
        if data[i]==0 then
            print "-"
        else
            for j in 0..data[i]-1 do
                print "*"
            end
        end
        print "\n"
    end
end