using System;
public class Program
{
public static void Main()
string num = Console.ReadLine();
int n = Convert.ToInt32(num);
string temp = "";
string temp2 = "*";
for(var i = 0; i < n; i++){
temp += " ";
}
for(var j = 1; j <= n; j++){
Console.WriteLine(temp.Substring(0,n-j) + temp2);
temp2 += "**";