#include <iostream> #include <string> using namespace std; string str; int main() { getline(cin,str); cout<<str<<endl; cout<<str.length(); return 0; }