N = int(input()) for i in range(N): if 2 ** i < N and 2 ** (i+1) >= N: print(i+1) break