import java.util.ArrayList;
import java.util.Scanner;

import javax.swing.JOptionPane;


public class BasicIO {
	
	
	static public int printHello(String name, int age) {
		System.out.println("Hello " + name + " age : " + age);
		return age + 3;
	}
	
	
	public static void main(String[] args) {
		
		
		Scanner scan = new Scanner(System.in);
		
		while (scan.hasNextInt()) {
		    int d = scan.nextInt();
		    double r = d / 2.5;
	    	for (int p = 0; p <= d; p++) {
	    		for (int col = 0; col <= d; col++) {
	    			double s = Math.sqrt(r*r - (r-p)*(r-p));
	    			double off = r - s;
	    			double width = 2.0*s;
	    			if (col > off && col < off+width) {
	    				System.out.print("*");
	    			} else {
	    				System.out.print(" ");
	    			}
	    		}
	    		System.out.println();
	    	}
	    	
	    	
		}
		
	
		 
		
		
		
		
		
	}
	
	

}

