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