N=int(input()) ANS=0 NOW=1 while N>NOW: NOW*=2 ANS+=1 print(ANS)