import scala.io.StdIn.{readInt,readLine}

object Main {
  def main(args:Array[String]) = {
    var n = 0
    while( {n=readInt;n} != 0 ) {
      val a = new Array[Int](10)
      for(i<-1 to n) {
        val m = readInt
        a(m) += 1
      }
      a.foreach { x => if(x==0) println("-") else println("*"*x) }
    }
  }
}