package Test;
import java.util.Scanner;
public class PATTERN {
public static void main(String[] args)
{
Scanner Scn = new Scanner(System.in);
int n = Scn.nextInt();
int nst=n; // Numb of Star
//rows
int row=1;
while(row<= n)
{
int cst=1; // Count of Star
while(cst<=nst);
{
System.out.print("*");
cst++;
}
System.out.println("\n");
nst=nst-1;
row=row+1;
}
}
}