public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
int a, b, c, d;
System.out.print("");
int n = scan.nextInt();
for (a = 0; a < n; a++) {
for (d = 0; d < n - a; d++) {
System.out.print(" ");
}
for (c = 0; c < a; c++) {
System.out.print("*");
}
for (b = 0; b < a + 1; b++) {
System.out.print("*");
}
System.out.println();
}
}
}