#include <stdio.h>
#include<string.h>
int main() 
{
    char str[20];
    char str1[20];
    scanf("%s",str);
    strcpy(str1,str);
    printf("%s",str1);
    printf("%d",strlen(str1));

}