#include <iostream>
using namespace std;
int main()
{
int i , n , s;
cin >> n;
i = 0;
s == n;
while ( i < n )
{
int j = 0;
while (j < s)
{
cout << "*";
j ++;
}
cout << '\n';
i ++;
s --;
}
return 0;
}