n = int(input()) X = [0]*30 X[0] = 1 for i in range(1, 30): X[i] = X[i-1]*2 import bisect i = bisect.bisect_left(X, n) print(i)