﻿"""
A Popular Ice-cream Shop
"""

if __name__ == '__main__':
    while True:
        n = int(raw_input())
        if n == 0:
            break
        result = [0 for _ in xrange(10)]
        for _ in xrange(n):
            result[int(raw_input())] += 1
        for i in xrange(10):
            if result[i] == 0:
                print "-"
            else:
                print "*" * result[i]
