#include <iostream>
using namespace std;
int main() {
for(int i = 0; i < 3; i++) {
for(int j = 0; j < 5; j++) {
if(j > i) break;
else cout << '*';
}
cout << '\n';
}
return 0;
}
CSNpbmNsdWRlIDxpb3N0cmVhbT4KdXNpbmcgbmFtZXNwYWNlIHN0ZDsKIAppbnQgbWFpbigpIHsKCWZvcihpbnQgaSA9IDA7IGkgPCAzOyBpKyspIHsKICAgIGZvcihpbnQgaiA9IDA7IGogPCA1OyBqKyspIHsKICAgICAgICBpZihqID4gaSkgYnJlYWs7CiAgICAgICAgZWxzZSBjb3V0IDw8ICcqJzsKICAgIH0KICAgIGNvdXQgPDwgJ1xuJzsKfQoJcmV0dXJuIDA7Cn0=