N = int(input()) sum = 1 count = 0 for i in range(1,10000000): sum = sum*2 count = count+1 if sum >= N: break print(count)