/* package whatever; // don't place package name! */

import java.util.*;
import java.lang.*;
import java.io.*;

/* Name of the class has to be "Main" only if the class is public. */
class Ideone
{
		public static void main (String[] args) throws java.lang.Exception
	{
 
		System.out.print("Please enter odd number that should be greater than 2");
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();
 
		if(n >= 3 && n % 2 == 1){
			print(n);
		}else {
			System.out.print("Error!, Please enter odd number that should be greater than 2");
		}
 
	}
 
	public static void print(int n){
 
		int k = (n+1)/2;
 
		for(int i = 1; i<= k;i++){
			for(int sp = 1; sp <= k-1-(i-1);sp++){
				System.out.print(" ");
			}
 
			for(int j = 1; j<= 2*i-1; j++){
				System.out.print("*");
			}
		}
 
 
	}
}