/******************************************************************************
Online C Compiler.
Code, Compile, Run and Debug C program online.
Write your code in this editor and press "Run" button to compile and execute it.
*******************************************************************************/
#include <stdio.h>
int main()
{
char action[5];
char str1[3];
char str2[3];
scanf("%s", action);
strncpy(str1, action, 2);
strncpy(str2, &action[2], 2);
str1[2] = '\0';
str2[2] = '\0';
puts(str1);
puts(str2);
return 0;
}