n=int(input()) def solve(n): if n==1: return 1 else: return solve((n+1)//2)+1 print(solve(n))