#include <iostream>
using namespace std;

int main() {

  while(1) {

    int ice[10] = {0};
    int n;

    cin >> n;
    if(n == 0) break;
    
    int t;
    for(int i=0;i<n;i++) {
      cin >> t;
      ice[t]++;
    }


    for(int i=0;i<10;i++) {

      if(ice[i] == 0) cout << "-" << endl;
      else {
	for(int j=0;j<ice[i];j++)
	  cout << "*";
	cout << endl;
      }
    }

  }

  return 0;

}