N = int(input()) bis = 1 count = 0 while bis < N: bis *= 2 count += 1 print(count)