#include<iostream>
#include<iomanip>
#include<string>
using namespace std;
int main() {
for (int i = 0; i < 7; i++) {
for (int j = 0; j < 16 - i; j++) cout << ' ';
for (int j = 0; j < 2*i + 1; j++) cout << '*';
cout << endl;
}
for (int i = 6; i >0; i--) {
for (int j = 0; j < 17-i; j++) cout << ' ';
for (int j = 0; j < 2 * i - 1; j++) cout << '*';
cout << endl;
}
return 0;
}