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