#include <iostream> using namespace std; int main() { int n,c; cin >> n; c = log10(n) + 1; cout << c; }