N=int(input()) i=1 while N/2 > 2**i: i+=1 print(i+1)