#include <iostream>
using namespace std;
int main(void)
{
string str;
int length, begin, zeros;
while (cin >> str){
length = str.length();
begin = 0;
while (begin + 8 <= length){
// 8个一组输出
cout << str.substr(begin, 8) << endl;
begin += 8;
}
// 正好全部输出完 返回
if (begin == length)
return 0;
// 输出剩余不足8个的部分
cout << str.substr(begin);
zeros = 8 - length % 8;
while (zeros-- > 0){
cout << "0";
}
cout << endl;
}
return 0;
} 
京公网安备 11010502036488号