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