N = int(input()) for i in range(100): if N <= 2 ** i: print(i) break