#include <iostream>
#include <string>
using namespace std;
int main() {
string text;
int noLines = 0;
while (getline(cin, text)){
++noLines;
if (noLines == 2) {
cout << text;
}
cout << noLines;
}
if (noLines <= 1) {
cout << "text prea scurt";
}
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8c3RyaW5nPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwoKaW50IG1haW4oKSB7CglzdHJpbmcgdGV4dDsKCWludCBub0xpbmVzID0gMDsKCXdoaWxlIChnZXRsaW5lKGNpbiwgdGV4dCkpewoJCSsrbm9MaW5lczsKCQlpZiAobm9MaW5lcyA9PSAyKSB7CgkJCWNvdXQgPDwgdGV4dDsKCQl9CgkJY291dCA8PCBub0xpbmVzOwoJfQoJaWYgKG5vTGluZXMgPD0gMSkgewoJCWNvdXQgPDwgInRleHQgcHJlYSBzY3VydCI7Cgl9CglyZXR1cm4gMDsKfQ==