#include using namespace std; typedef long long LL; int main() { LL x; cin >> x; cout << (int) (log10(x) + 1) << endl; return 0; }