n = int(input())
i, cnt = 1, 0
while i < n:
    i *= 2
    cnt += 1
print(cnt)

149a74065176640fa2a5b5bdeec29c63df82d853
<mask token>

<mask token>
while i < n:
    i *= 2
    cnt += 1
print(cnt)

n = int(input())
i, cnt = 1, 0
while i < n:
    i *= 2
    cnt += 1
print(cnt)
