def counter(string):
    try:
        lista = list(string)
        lista.pop(0)
        return 1 + counter(string[1:])
    except:
        return 0


print(counter(input()))

bf1c4c4667557fb899ff1e30387a9327dbc36312
<mask token>

def counter(string):
    try:
        lista = list(string)
        lista.pop(0)
        return 1 + counter(string[1:])
    except:
        return 0


<mask token>

def counter(string):
    try:
        lista = list(string)
        lista.pop(0)
        return 1 + counter(string[1:])
    except:
        return 0


print(counter(input()))
