#include <iostream>
using namespace std;
int main() {
// your code goes here
int n=5;
for(int i=1;i<=n;i++){
for(int j=1;j<=i;j++){
cout<<j<<" ";
}
cout<<endl;
}
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwoKaW50IG1haW4oKSB7CgkvLyB5b3VyIGNvZGUgZ29lcyBoZXJlCglpbnQgbj01OwoJZm9yKGludCBpPTE7aTw9bjtpKyspewoJCWZvcihpbnQgaj0xO2o8PWk7aisrKXsKCQkJY291dDw8ajw8IiAiOwoJCX0KCQljb3V0PDxlbmRsOwoJfQoKCXJldHVybiAwOwp9