import java.util.Scanner;
public class SanJiao {
    public static void main(String[] args) {
        // TODO Auto-generated method stub
        Scanner sc = new Scanner(System.in);
        while (sc.hasNext()) {
            int H = sc.nextInt();
            solution(H);
        }
        sc.close();
    }
    private static void solution(int h) {
        // TODO Auto-generated method stub
        for (int i = 0; i < h; i++) {
            for (int j = 0; j < h-i-1; j++) {
                System.out.print("."+"\t");
            }
            for (int j = 0; j < i*2+1; j++) {
                if (i<h-1) {
                    if (j>0&&j<i*2) {
                        System.out.print("."+"\t");
                    }else {
                        System.out.print("*"+"\t");
                    }
                }
                if (i==h-1) {
                    System.out.print("*"+ "\t");
                }
            }
            System.out.println();
        }
    }
}