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;
}