n = int(input()) knock = 0 next = 0 biscuits = 1 while n > biscuits: biscuits *= 2 knock += 1 print(knock)