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