#include <iostream>
#include <cmath>
#include <numeric>
#include <string>
using namespace std;
void solve()
{
string s1, s2;
cout << "first: ";
cin >> s1;
cout << s1 << endl;
cin.sync();
cout << "second: ";
cin >> s2;
cout << s2 << endl;
}
int main(){
solve();
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8Y21hdGg+CiNpbmNsdWRlIDxudW1lcmljPgojaW5jbHVkZSA8c3RyaW5nPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwoKdm9pZCBzb2x2ZSgpIAp7CiAgICBzdHJpbmcgczEsIHMyOwogICAgY291dCA8PCAiZmlyc3Q6ICI7CiAgICBjaW4gPj4gczE7CiAgICBjb3V0IDw8IHMxIDw8IGVuZGw7CiAgICBjaW4uc3luYygpOwogICAgY291dCA8PCAic2Vjb25kOiAiOwogICAgY2luID4+IHMyOwogICAgY291dCA8PCBzMiA8PCBlbmRsOwogICAgCn0KCmludCBtYWluKCl7CiAgICBzb2x2ZSgpOwogICAgcmV0dXJuIDA7Cn0=