import std.format;
import std.stdio;
void main ()
{
string s;
int v = 0;
while (true)
{
string t = format ("%b", v + 1);
if (s.length + t.length > 75)
{
break;
}
v += 1;
s ~= t;
}
writeln (s, " ", v);
}
aW1wb3J0IHN0ZC5mb3JtYXQ7CmltcG9ydCBzdGQuc3RkaW87Cgp2b2lkIG1haW4gKCkKewoJc3RyaW5nIHM7CglpbnQgdiA9IDA7Cgl3aGlsZSAodHJ1ZSkKCXsKCQlzdHJpbmcgdCA9IGZvcm1hdCAoIiViIiwgdiArIDEpOwoJCWlmIChzLmxlbmd0aCArIHQubGVuZ3RoID4gNzUpCgkJewoJCQlicmVhazsKCQl9CgkJdiArPSAxOwoJCXMgfj0gdDsKCX0KCXdyaXRlbG4gKHMsICIgIiwgdik7Cn0K