a = int(input())


def test(a1, result):
    if a1 / 10 > 0:
        result += 1
        a1 = int(a1 / 10)
        return test(a1, result)
    else:
        return result


print(test(a, 0))

b0c67ce4b40c15457d0d87be169509a5e709db3c
<mask token>

<mask token>


def test(a1, result):
    if a1 / 10 > 0:
        result += 1
        a1 = int(a1 / 10)
        return test(a1, result)
    else:
        return result


<mask token>

<mask token>


def test(a1, result):
    if a1 / 10 > 0:
        result += 1
        a1 = int(a1 / 10)
        return test(a1, result)
    else:
        return result


print(test(a, 0))

a = int(input())


def test(a1, result):
    if a1 / 10 > 0:
        result += 1
        a1 = int(a1 / 10)
        return test(a1, result)
    else:
        return result


print(test(a, 0))
