#include <iostream>
using namespace std;
int main() {
auto begin = 1 ,
end = 23;
for( auto i = begin; i <= end; ++i ) {
cout << i << " ";
for( auto j = 1 ; j <= i; ++j ) {
cout << j << " ";
}
cout << "\n";
}
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwoKaW50IG1haW4oKSB7CglhdXRvIGJlZ2luID0gMSAsCgkgICAgIGVuZCAgID0gMjM7Cglmb3IoIGF1dG8gaSA9IGJlZ2luOyBpIDw9IGVuZDsgKytpICkgewoJCWNvdXQgPDwgaSA8PCAiICI7CgkJZm9yKCBhdXRvIGogPSAxIDsgaiA8PSBpOyArK2ogKSB7CgkJCWNvdXQgPDwgaiA8PCAiICI7CgkJfQoJCWNvdXQgPDwgIlxuIjsKCX0KCXJldHVybiAwOwp9