#include <iostream>
using namespace std;
int main() {
for (int index=0; index<3; index++)
{
cout << begin({123, 456, 789})[index];
}
for (int value : {123, 456, 789})
{
cout << value;
}
}
I2luY2x1ZGUgPGlvc3RyZWFtPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwoKaW50IG1haW4oKSB7Cglmb3IgKGludCBpbmRleD0wOyBpbmRleDwzOyBpbmRleCsrKQoJewoJICAgIGNvdXQgPDwgYmVnaW4oezEyMywgNDU2LCA3ODl9KVtpbmRleF07Cgl9CgkKCWZvciAoaW50IHZhbHVlIDogezEyMywgNDU2LCA3ODl9KQoJewoJICAgIGNvdXQgPDwgdmFsdWU7Cgl9Cn0=