try: s = input().strip() for i in range(0, len(s), 8): ret = s[i: i + 8].ljust(8, "0") # 左对齐,不够8位补齐0 print(ret) except Exception as e: print("error = {}".format(e))