s = input() if len(s) % 8 != 0: # 如果字符串长度不是8的整数倍,则末尾补全0直到是8的倍数 s += '0' * (8- (len(s)%8)) for i in range(len(s)//8): # 遍历打印 print(s[8*i:8*i+8])