#include<iostream> using namespace std; int main() { int a,cnt=0; cin>>a; while(a!=0) { //cout<<a<<"\n"; cnt++; a=a/10; } cout<<cnt; }