import java.io.*; 
  
public class RightTriangle 
{ 
  public static void main(String[] argv) throws Exception 
  { 
    BufferedReader cin; 
    cin = new BufferedReader(new InputStreamReader(System.in)); 
  
    int n; // print this many rows 
    System.out.print("How many rows to print? "); 
    n = new Double(cin.readLine()).intValue(); 
    for (int i = 0; i < n; i++) 
    { 
      for (int j = 0; j < (i + 1); j++) 
        System.out.print('*'); 
      System.out.println(); 
    } // for 
  } // main 
} // public class 
