N=int(input()) i=0 while 1: if N<=pow(2,i): print(i) break i+=1