n = int(input()) for i in range(10**9): if n <= 2**i: print(i) break