text: #include <iostream>
  using namespace std;
  
  
  void cross(int n, char c){
  	for (int i = 1; i <= n/2;  ++i)
  	{
  		for (int j = 1; j <= n/2; ++j)
  		{
  			cout << " ";
  		}
  		cout << c << endl;
  	}
  	for(int i = 1; i <= n; ++i) cout << c;
  	cout << endl;
  	for (int i = 1; i <= n/2; ++i)
  	{
  		for (int j = 1; j <= n/2; ++j)
  		{
  			cout << " ";
  		}
  		cout << c << endl;
  	}
  	
  }
  
  
  int main() {
    int n;
    char c;
    while (cin >> n >> c) cross(n, c);
  }
  