lines = []
while True:
try:
lines.append(input())
except:
break
newLines = []
for l in lines:
if len(l) <= 8:
newLines.append(l)
else:
counts = int(len(l)/8)
for i in range(0, counts+1):
if i*8 < len(l):
end = i*8+8
if end >= len(l):
end = len(l)
# print(i*8)
# print(end)
# print(l[int(i*8):int(end)])
newLines.append(l[int(i*8):int(end)])
# print(newLines)
for l in newLines:
if len(l) < 8:
string = l
interval = 8 - len(l)
for i in range(0, interval):
string += '0'
l = string
print(l) 
京公网安备 11010502036488号