#include <bits/stdc++.h> using namespace std; int main() { int a,i=0; cin>>a; do{ a/=10; i++; }while(a); cout<<i; }