#include <iostream>
#include <string.h>
using namespace std;
int main() {
string s;
char a[10], b[10];
while(cin>>s){
cout<<"123"<<endl;
scanf("%s",a);
cout<<a;
}
}
I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8c3RyaW5nLmg+CnVzaW5nIG5hbWVzcGFjZSBzdGQ7CgppbnQgbWFpbigpIHsKCXN0cmluZyBzOwoJY2hhciBhWzEwXSwgYlsxMF07Cgl3aGlsZShjaW4+PnMpewoJCQljb3V0PDwiMTIzIjw8ZW5kbDsKCQkJc2NhbmYoIiVzIixhKTsKCQkJY291dDw8YTsKCX0KfQ==