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