#include <iostream>
using namespace std;
int main() {
string s ;
while(cin>>s){
if(s.size() < 8){
string t(8 - s.size() , '0') ;
s+= t ;
cout<<s <<endl ;
}
else if(s.size() > 8)
{
int n = s.size() / 8 ;
int i = 0 ;
for( ; i < n ; ++i )
{
string t ;
t= s.substr(0 + i * 8 , 8) ;
cout<<t <<endl ;
}
if(i * 8 < s.size() ){
string t = s.substr( i*8 ) ;
string tt(8 - t.size() , '0') ;
t+= tt ;
// cout<<s <<endl ;
cout<<t <<endl ;
}
}
else{
cout<<s<<endl ;
}
}
}
// 64 位输出请用 printf("%lld")



京公网安备 11010502036488号