https://www.acmicpc.net/problem/11721
s=input()
for i in range(0,len(s),10):
print(s[i:i+10])
import java.util.*;
import java.lang.*;
import java.io.*;
// The main method must be in a class named "Main".
class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
String s= sc.next();
for(int i=0;i<s.length();i+=10){
if(i+10<=s.length()){
System.out.println(s.substring(i,i+10));
}else{
System.out.println(s.substring(i));
}
}
}
}