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