#include <iostream>
using namespace std;
int main() {
for(int i = 1 ; i <= 5; i++){
for(int j = (5-i); j >= 0; j--){
cout<<i;
}
cout<<endl;
}
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwoKaW50IG1haW4oKSB7Cglmb3IoaW50IGkgPSAxIDsgaSA8PSA1OyBpKyspewoJCWZvcihpbnQgaiA9ICg1LWkpOyBqID49IDA7IGotLSl7CgkJCWNvdXQ8PGk7CgkJfQoJCWNvdXQ8PGVuZGw7Cgl9CglyZXR1cm4gMDsKfQ==