n = int(input())
turn = 0

while 2 ** turn < n:
    
    turn += 1

print (turn)