#include<bits/stdc++.h>
using namespace std;
int main()
{
int n;cin>>n;
int c=0;
while(n>0)
{
n/=10;
c++;
}
cout<<c;
}
I2luY2x1ZGU8Yml0cy9zdGRjKysuaD4KdXNpbmcgbmFtZXNwYWNlIHN0ZDsKaW50IG1haW4oKQp7CglpbnQgbjtjaW4+Pm47CglpbnQgYz0wOwoJd2hpbGUobj4wKQoJewoJCgkJbi89MTA7CgkJYysrOwoJfQoJY291dDw8YzsKfQ==