N = int(input()) current_biscuit = 1 knock = 0 coefficient = 2 while current_biscuit < N: knock += 1 current_biscuit *= coefficient print(knock)