n=int(input()) x=1 ans=0 for i in range(100): if n<=x: print(ans) exit() x*=2 ans+=1