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