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