include<bits/stdc++.h>

using namespace std;
int main () {
int n;
while (cin >> n) {//多组输入
for (int i = 1;i <= n;i++) {//控制行
for (int j = n - i;j >= 1;j--) {//控制空格
cout << " ";
}
for (int j = 1;j <= i;j++) {
cout << "* ";//输出图案
}
cout << endl;//换行

}
return 0;

}