import bisect N = int(input()) biscuits = [2 ** i for i in range(1,50)] ind = bisect.bisect_left(biscuits,N) print(ind+1)