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