N = int(input()) def divide_counter(N): s=1 counter = 0 while 1: s=s*2 if s>=N: break counter+=1 return counter print(divide_counter(N))