#include <iostream>
#include <string>
using namespace std;
int main() {
int x = 5;
cout << string(x, '*') << '\n';
for(int i = x-2; i >= 1; i--) {
cout << string(i, ' ') << "*\n";
}
cout << string(x, '*') << '\n';
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8c3RyaW5nPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwoKaW50IG1haW4oKSB7CglpbnQgeCA9IDU7Cgljb3V0IDw8IHN0cmluZyh4LCAnKicpIDw8ICdcbic7Cglmb3IoaW50IGkgPSB4LTI7IGkgPj0gMTsgaS0tKSB7CgkJY291dCA8PCBzdHJpbmcoaSwgJyAnKSA8PCAiKlxuIjsKCX0KCWNvdXQgPDwgc3RyaW5nKHgsICcqJykgPDwgJ1xuJzsKCQoJcmV0dXJuIDA7Cn0=