import java.util.*;
public class PrintLengthInt {
public static void main(String args[]){
Scanner sc = new Scanner(System.in);
if(sc.hasNextLong()){
long n = sc.nextLong();
if(n<0){
n*=-1;
}
if(n>=10000000000L){
System.out.println("The no is equal or greater than 100,000,00000");
} else{
int digits = 1;
if(n>=10 && n<100){
digits =2;
}
else if(n>=100 && n<1000){
digits =3;
}
else if(n>=1000 && n<10000){
digits =4;
}
else if(n>=10000 && n<100000){
digits =5;
}
else if(n>=100000 && n<1000000){
digits =6;
}
else if(n>=1000000 && n<10000000){
digits =7;
}
else if(n>=10000000 && n<100000000){
digits =8;
}
else if(n>=100000000 && n<1000000000){
digits =9;
}
else if(n>=1000000000 && n<10000000000L){
digits =10;
}
System.out.println("The no of digits in the given number are :"+" "+digits);
}
}
else{
System.out.println("The given no. is not an integer");
}
}
}