递归

import sys

def split(s):
    s = s.strip()
    if s:
        print('{:0<8}'.format(s[:8]))
        split(s[8:])

for x in sys.stdin:
    split(x)