<reponame>Kwak-JunYoung/154Algoritm-5weeks<filename>chobo/0206/11721.py
txt = input()
while len(txt) != 0:
    print(txt[:10])
    txt = txt[10:]

txt = input()
while len(txt) != 0:
    print(txt[:10])
    txt = txt[10:]