#include <iostream> using namespace std; int main() { int a; int b = 0; cin >> a; while (a != 0) { a /= 10; b += 1; } cout << b; }