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