import sys input=lambda: sys.stdin.readline().rstrip() n=int(input()) ans=0 while n>0: n//=2 ans+=1 print(ans)