a=int(input()) for i in range(32): if 2**i>=a: print(i) break