N = int(input()) i = 1 j = 1 while(True): if(i*2>N): break i*=2 j+=1 print(j)