N = int(input()) biscuits = 1 count = 0 while True: if biscuits >= N: break biscuits *= 2 count += 1 print(count)