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