#include <iostream>
using namespace std;
int main(){
int n;
cin >> n;
int x = 0;
int y = n;
for(int i = 0;i <= n;i ++){
for(int q = x;q > 0;q --){
cout << " ";
}
for(int a = y;a > 0;a --){
cout << "*";
}
cout << " " << endl;
x ++;
y --;
}
return 0;
}