import java.util.Scanner;
public class zixi001 {
/**
* @param args
*/
public static void main(String[] args) {
// TODO Auto-generated method stub
Scanner input=new Scanner(System.in);
System.out.println("请输入行数");
int num=input.nextInt();
for(int i=1;i<=num;i++){
for(int j=num;j>i-1;j--){
System.out.print("*");
}
System.out.println("");
}
}
}