N = int(input()) ans = 0 v = 1 while v < N: v *= 2 ans += 1 print(ans)