from math import* N=int(input("N?")) R=1 while N>=10: R=R+1 N=N/10 print(R)