N=int(input()) k=0 while N>2**k:k+=1 print(k)