#include <iostream>
using namespace std;
struct str {
int t[3];
char s[3];
};
int main() {
str z[3];
for(int i = 0; i < 3; i++)
for(int j = 0; j < 3; j++) {
z[i].s[j] = '0' + i + j;
z[j].t[i] = i + j;
}
cout << z[0].s[1] << z[1].t[2] << z[2].s[0];
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwogICAgCnN0cnVjdCBzdHIgewogICAgaW50IHRbM107CiAgICBjaGFyIHNbM107Cn07CiAgICAKaW50IG1haW4oKSB7CiAgICAgICAgc3RyIHpbM107CiAgICAgICAgZm9yKGludCBpID0gMDsgaSA8IDM7IGkrKykKICAgICAgICAgICAgZm9yKGludCBqID0gMDsgaiA8IDM7IGorKykgewogICAgICAgICAgICAgICAgeltpXS5zW2pdID0gJzAnICsgaSArIGo7CiAgICAgICAgICAgICAgICB6W2pdLnRbaV0gPSBpICsgajsKICAgICAgICAgICAgfQogICAgICAgIGNvdXQgPDwgelswXS5zWzFdIDw8IHpbMV0udFsyXSA8PCB6WzJdLnNbMF07CiAgICAgICAgcmV0dXJuIDA7Cn0KCg==