#include <iostream>
int main()
{
for( int outer = 0 ; outer < 3 ; ++outer )
{
std::cout << "outer: " << outer << '\n' ;
for( int inner = 0 ; inner < 5 ; ++inner )
{
std::cout << " inner: " << inner << " (outer:" << outer << ")\n" ;
}
std::cout << '\n';
}
}
I2luY2x1ZGUgPGlvc3RyZWFtPgoKaW50IG1haW4oKQp7CiAgICBmb3IoIGludCBvdXRlciA9IDAgOyBvdXRlciA8IDMgOyArK291dGVyICkKICAgIHsKICAgICAgICBzdGQ6OmNvdXQgPDwgIm91dGVyOiAiIDw8IG91dGVyIDw8ICdcbicgOwoKICAgICAgICBmb3IoIGludCBpbm5lciA9IDAgOyBpbm5lciA8IDUgOyArK2lubmVyICkKICAgICAgICB7CiAgICAgICAgICAgIHN0ZDo6Y291dCA8PCAiICAgIGlubmVyOiAiIDw8IGlubmVyIDw8ICAiIChvdXRlcjoiIDw8IG91dGVyIDw8ICIpXG4iIDsKICAgICAgICB9CgogICAgICAgIHN0ZDo6Y291dCA8PCAnXG4nOwogICAgfQp9Cg==