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