#include <iostream>
template <typename T>
void print(const T&e)
{
std::cout << e << " ";
}
template <typename T, std::size_t N>
void print(const T (&a)[N])
{
std::cout << "{";
for (const auto& e : a) {
print(e);
}
std::cout << "}" << std::endl;
}
int main() {
const int a[2][3][4] = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23};
print(a);
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgoKdGVtcGxhdGUgPHR5cGVuYW1lIFQ+CnZvaWQgcHJpbnQoY29uc3QgVCZlKQp7CiAgICBzdGQ6OmNvdXQgPDwgZSA8PCAiICI7Cn0KCnRlbXBsYXRlIDx0eXBlbmFtZSBULCBzdGQ6OnNpemVfdCBOPgp2b2lkIHByaW50KGNvbnN0IFQgKCZhKVtOXSkKewogICAgc3RkOjpjb3V0IDw8ICJ7IjsKICAgIGZvciAoY29uc3QgYXV0byYgZSA6IGEpIHsKICAgICAgICBwcmludChlKTsKICAgIH0KICAgIHN0ZDo6Y291dCA8PCAifSIgPDwgc3RkOjplbmRsOwp9CgoKaW50IG1haW4oKSB7CiAgICBjb25zdCBpbnQgYVsyXVszXVs0XSA9IHswLCAxLCAyLCAzLCA0LCA1LCA2LCA3LCA4LCA5LCAxMCwgMTEsIDEyLCAxMywgMTQsIDE1LCAxNiwgMTcsIDE4LCAxOSwgMjAsIDIxLCAyMiwgMjN9OwoKICAgIHByaW50KGEpOwogICAgcmV0dXJuIDA7Cn0KCg==