#include<iostream>
using namespace std;
int n, nrcifre;
int main() {
cin >> n;
nrcifre = 0;
while(n>0){
nrcifre = nrcifre + 1;
n = n / 10;}
cout << nrcifre;
return 0;}
I2luY2x1ZGU8aW9zdHJlYW0+IAp1c2luZyBuYW1lc3BhY2Ugc3RkOwppbnQgbiwgbnJjaWZyZTsKaW50IG1haW4oKSB7CmNpbiA+PiBuOwpucmNpZnJlID0gMDsKd2hpbGUobj4wKXsKbnJjaWZyZSA9IG5yY2lmcmUgKyAxOwpuID0gbiAvIDEwO30KY291dCA8PCBucmNpZnJlOwpyZXR1cm4gMDt9