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