// editor4
import java.util.Scanner;
public class main{
    public static void main(String[] args)
    {
        Scanner sc = new Scanner(System.in);
        int row = sc.hasnextInt();
        int st=1;
        if(row>0 && row<=10){
        for(int i=0;i<row;i++){
            for(int j =0;j<st;j++){
                System.out.print("#");
            }
            System.out.println();
            st++;
        }
        }else{
            System.out.println("Invalid input");
        }
    }
}