public class Triangle {
  public static void main(String[] a) {
    drawTriangle(Integer.parseInt(a[0]));
/*    int n = new java.util.Scanner(System.in).nextInt();
    drawTriangle(n);*/
  }

  public static void drawTriangle(int n) {
    for (int i = 0; i < n; i++) {
      for (int j = 0; j <= i; j++)
	System.out.print("*");
      System.out.println();
    }
  }
}
