#include <iostream> #include <vector> #include <string> using namespace std; int main() { string str; vector<vector<char>> vv; while (getline(cin, str)) { int num = str.size(); int cnt = 0; while (num > 0) { vector<char> v; for (int i = 0; i < 8; i++) { if (num <= 0) //不够8个的, 后面补0 { v.push_back('0'); } else { v.push_back(str[cnt++]); } num--; } vv.push_back(v); } } for (int i = 0; i < vv.size(); i++) { for (int j = 0; j < 8; j++) { cout << vv[i][j]; } cout << endl; } return 0; }