#include <iostream> #include <string> using namespace std; int main() { int n,s=0; cin >> n; while(n!=0){ n/=10; s++; } cout<<s; return 0; }