u = 1
n = 0
while u <= 1000000:
    n = n + 1
    u = 2**n
print(n)
