import java.io.*;
public class Main {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(System.out));
int N = Integer.parseInt(br.readLine());
for(int i = 0 ; i < N ; i++){
for (int m = 0 ; m < N-i-1 ; m++) {
bw.write(" ");
}
for(int j = 0 ; j <= i ; j++){
bw.write("*");
}
bw.newLine();
}
bw.flush();
bw.close();
}
}