#include<iostream> #include<string.h> using namespace std; int main(){ char a[105]; cin.getline(a,105); cout<<strlen(a)<<endl; return 0; }