#include #include using namespace std;
int main() { string str; getline(cin,str); int length = str.size(); int zs = length / 8; int ys = length % 8; int count = 0; if(length > 100) { return 0; }
while(zs > 0)
{
for(int j = 0; j < 8; j++)
{
cout<<(str.at(count*8+j));
}
cout<<endl;
zs--;
count++;
}
if(ys > 0)
{
for(int k = 0; k < ys; k++)
{
cout<<(str.at(count*8+k));
}
for(int m = 0; m < (8-ys);m++)
{
cout<<'0';
}
}
return 0;
}