N=int(raw_input()) i=0 while(True): if N<=2**i: print i break i+=1