using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MyCSharp
{
class Program
{
static void Main(string[] args)
{
int num = 0;
char ch = '0';
string[] str = Console.ReadLine().Split();
num = Convert.ToInt32(str[0]);
ch = Convert.ToChar(str[1]);
int Rnum = (num + 1) / 2;
for (byte i = 0; i < Rnum; ++i)
{
for (byte j = 0; j < num; ++j)
{
Console.Write(ch);
}
Console.WriteLine();
}
}
}
}