import java.util.; public class Main { public static void main(String[] args) { Scanner input = new Scanner(System.in); while(input.hasNext()){ String string=input.nextLine(); int add0=string.length()%8==0?0:8-string.length()%8; for (int i = 0; i <add0 ; i++) { string=string+0; } for (int i = 0; i <string.length()/8 ; i++) { System.out.println(string.substring(i8,i*8+8)); } } } }