import java.io.*;
import java.util.*;
public class problem1
{
  public static void main (String args [] ) throws IOException
  {
    Scanner br = new Scanner (new File ("DATA1.txt"));
    PrintWriter pw = new PrintWriter(new FileWriter ("OUT1.txt"));
    
    String s = "";
    for (int i = 0; i < 5; i++)
    {
      int c = br.nextInt();
      if ( c == -5 )
      {
        s = "*****|-----";
      }
      if ( c == -4 )
      {
        s = "-****|-----";
      }
      if ( c == -3 )
      {
        s = "--***|-----";
      }
      if ( c == -2 )
      {
        s = "---**|-----";
      }
      if ( c == -1 )
      {
        s = "----*|-----";
      }
      if ( c == 0 )
      {
        s = "-----|-----";
      }
      if ( c == 1 )
      {
        s = "-----|*----";
      }
      if ( c == 2 )
      {
        s = "-----|**---";
      }
      if ( c == 3 )
      {
        s = "-----|***--";
      }
      if ( c == 4 )
      {
        s = "-----|****-";
      }
      if ( c == 5 )
      {
        s = "-----|*****";
      }
      pw.println(s);
    }
    br.close();
    pw.close();
  }
}
