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