i = int(input()) for x in range(0, 100000000): if 2**x >= i: print(x) break