N=int(input()) for i in range(50): if 2**i>=N: print(i),quit()