#include<stdio.h>
int main() {
// Make the initializations
int num = 0; int N; // '0' has to be printed in form of right triangle
scanf ("%d",&N);
for (int i = 0;
i < N;
i++,
({for (int j = 1;
j <= i;
j++,
putchar('0'));}),
printf("\n"));
printf ("Finished pyramid!\n");
return 0;
}
I2luY2x1ZGU8c3RkaW8uaD4KIAppbnQgbWFpbigpIHsKICAgCiAgLy8gTWFrZSB0aGUgaW5pdGlhbGl6YXRpb25zCiAgaW50IG51bSA9IDA7IGludCBOOyAgICAgICAgICAvLyAnMCcgaGFzIHRvIGJlIHByaW50ZWQgaW4gZm9ybSBvZiByaWdodCB0cmlhbmdsZQogIAogIAogIHNjYW5mICgiJWQiLCZOKTsKICAKICBmb3IgKGludCBpID0gMDsKICAgICAgIGkgPCBOOyAKICAgICAgIGkrKywgCiAgICAgICAoe2ZvciAoaW50IGogPSAxOyAKICAgICAgIAkJCSBqIDw9IGk7IAogICAgICAgCQkJIGorKywgCiAgICAgICAJCQkgcHV0Y2hhcignMCcpKTt9KSwgCiAgICAgICAJCQkgcHJpbnRmKCJcbiIpKTsKIAogIHByaW50ZiAoIkZpbmlzaGVkIHB5cmFtaWQhXG4iKTsKICByZXR1cm4gMDsKfQ==