#include <iostream>

using namespace std;

int main()
{
	int n; cin >> n;

	int i = 0;
	int x = 0;

	while ( x < n )
	{
		while(i < n)
		{
			cout << "*";
			i= i+1;
		}

		cout << "\n";
		i=0;
		x = x+1;
	}

	return 0;
}