/*
https://www.runoob.com/cprogramming/c-file-io.html
*/
#include<bits/stdc++.h>
using namespace std;
int main()
{
char s[100];
fgets(s,100,stdin);
int len=strlen(s);
cout<<len<<endl;
if(s[len-1]=='\n') len--;
s[len]='\0';
puts(s);
FILE *fp;
char str[10000];
fp = fopen("C:/Users/Administrator/Desktop/cc.txt" , "r");
//fp=fopen("C:\Users\Administrator\Desktop\cc.txt","r");
if(fp==NULL) {
cout<<"false"<<endl;
return 0;
}
if(fgets(str,10000,fp)!=NULL){
puts(str);
}
fclose(fp);
int n;cin>>n;
return 0;
}