N = int(input())

ans = 1

l = 1
r = 100

while True:
    if l <= N < r:
        print(ans)
        exit()
    l*=100
    r *= 100
    ans += 1