#include <iostream>
using namespace std;
int main() {
int n, numbers = 0;
const int ten = 10;
cin >> n;
while (n > 0) {
numbers++;
n = n / ten;
}
cout << numbers;
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwoKaW50IG1haW4oKSB7CglpbnQgbiwgbnVtYmVycyA9IDA7Cgljb25zdCBpbnQgdGVuID0gMTA7CgljaW4gPj4gbjsKCQoJd2hpbGUgKG4gPiAwKSB7CgkKCQludW1iZXJzKys7CgkJbiA9IG4gLyB0ZW47Cgl9Cgljb3V0IDw8IG51bWJlcnM7CglyZXR1cm4gMDsKfQ==