# Ces programmes sont sous licence CeCILL-B V1.

x = float(input())
n = 0
while x > 1.0:
  x = x / 2.0
  n = n + 1
print(n)
