//题:输入一个n;输出:第一行是n个*,第n-1行是n-2个*,最后一行是一个*;
#include<iostream>
using namespace std;
int main()
{
int n;
cin >> n;
for (int i = 0; i < (n+1)/2; i++) {
for (int j = 0; j < n-i; j++) {
if (j <= i - 1)cout << " ";
else cout << "*";
}
cout << endl;
}
return 0;
}