#include <iostream>
#include <locale>
int main()
{
std::locale::global(std::locale(""));
std::wcout.imbue(std::locale());
using std::wcout;
for(int i(0); i < 5000; i++) // ideone limits cout
{
if(i % 24 == 0) wcout << '\n';
wcout << wchar_t(i) << ' ';
}
}
I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8bG9jYWxlPgoKaW50IG1haW4oKQp7CiAgICBzdGQ6OmxvY2FsZTo6Z2xvYmFsKHN0ZDo6bG9jYWxlKCIiKSk7CiAgICBzdGQ6Ondjb3V0LmltYnVlKHN0ZDo6bG9jYWxlKCkpOwoKICAgIHVzaW5nIHN0ZDo6d2NvdXQ7CiAgICBmb3IoaW50IGkoMCk7IGkgPCA1MDAwOyBpKyspIC8vIGlkZW9uZSBsaW1pdHMgY291dAogICAgewogICAgICAgIGlmKGkgJSAyNCA9PSAwKSB3Y291dCA8PCAnXG4nOwogICAgICAgIHdjb3V0IDw8IHdjaGFyX3QoaSkgPDwgJyAnOwogICAgfQp9Cg==