#include <iostream>
using namespace std;
int main() {
int x, n=1;
cin >> x;
while ((x/=10) > 0) n++;
cout << n;
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwoKaW50IG1haW4oKSB7CglpbnQgeCwgbj0xOwoJY2luID4+IHg7Cgl3aGlsZSAoKHgvPTEwKSA+IDApIG4rKzsKCWNvdXQgPDwgbjsKCXJldHVybiAwOwp9