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