#include <ctype.h>
#include <stdio.h>
int main()
{
char myouji[10+1];
char namae[10+1];
int ret;
int n;
int c;
while (1) {
ret
= scanf("%10s %10s", myouji
, namae
); if (ret == EOF) break;
if (ret != 2) continue;
for (n = 0; c = myouji[n]; n++) {
}
for (n = 0; c = namae[n]; n++) {
}
printf("出力: %s %s\n", namae
, myouji
); }
return 0;
}
I2luY2x1ZGUgPGN0eXBlLmg+CiNpbmNsdWRlIDxzdGRpby5oPgoKaW50IG1haW4oKQp7CgljaGFyIG15b3VqaVsxMCsxXTsKCWNoYXIgbmFtYWVbMTArMV07CglpbnQgcmV0OwoJaW50IG47CglpbnQgYzsKCgl3aGlsZSAoMSkgewoJCXByaW50Zigi5ZCN5a2X44Go5ZCN5YmN44KS5YWl5Yqb44GX44Gm44GP44Gg44GV44GEXG4iKTsKCQlyZXQgPSBzY2FuZigiJTEwcyAlMTBzIiwgbXlvdWppLCBuYW1hZSk7CgkJaWYgKHJldCA9PSBFT0YpIGJyZWFrOwoJCWlmIChyZXQgIT0gMikgY29udGludWU7CgoJCWZvciAobiA9IDA7IGMgPSBteW91amlbbl07IG4rKykgewoJCQlteW91amlbbl0gPSB0b3VwcGVyKGMpOwoJCX0KCQlmb3IgKG4gPSAwOyBjID0gbmFtYWVbbl07IG4rKykgewoJCQluYW1hZVtuXSA9IChuID09IDApID8gdG91cHBlcihjKSA6IHRvbG93ZXIoYyk7CgkJfQoJCXByaW50Zigi5Ye65YqbOiAlcyAlc1xuIiwgbmFtYWUsIG15b3VqaSk7Cgl9CglyZXR1cm4gMDsKfQo=