str = input() new = "" while len(str)>10 : new = new + str[:10] + "\n" str = str[10:] new = new + str print(new)