n=int(input()) total=1 for i in range(1,100000): total=total *2 if total >=n: print(i) break