def es5(n):
    """
    Write a script that, given an input number n, computes the numbers of the
    Fibonacci sequence that are less than n.
    """
    if n <= 0:
        return 0
    if n <= 1:
        return 1
    a, b = 0, 1
    cont = 2
    while a + b < n:
        b += a
        a = b - a
        cont += 1
    return cont