import scala.math._

object Main {
  val sc = new java.util.Scanner(System.in)
  def main(args: Array[String]) {
    while(true) {
      val n = sc.nextInt()
      if(n == 0) {
        return
      }

      val c = new Array[Int](10)
      for(_ <- 1 to n) {
        c(sc.nextInt()) += 1
      }
      c.map{
        case 0 => "-"
        case x => "*" * x
      }.foreach(println)
    }
  }
}