import sys s = input() while len(s) > 8: print(s[:8]) s = s[8:] if len(s) < 8: s += "0" * (8 - len(s)) print(s)