#include<bits/stdc++.h>
using namespace std;
int main(){
int i,j,n;
cin>>n;
for(i=n;i>=1;i--){
for(j=0;j<=i-1;j++){
cout<<"*"; }
cout<<endl; }
return 0;}
/**************************************************************
Problem: 1782
User: zhangchenhao
Language: C++
Result: Accepted
Time:6 ms
Memory:2072 kb
****************************************************************/