import java.io.*;
import java.util.*;
public class Main{
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
StringBuilder sb = new StringBuilder();
int value = Integer.parseInt(br.readLine());
for (int i = 1; i <= value; ++i) {
for (int j = 1; j <= value - i; ++j) {
System.out.print(" ");
}
for (int j = 1; j <= i; ++j) {
System.out.print("*");
}
System.out.println();
}
String result = sb.toString();
System.out.print(result);
}
}