
"""simple docstring"""





from math import exp







def       __a	(						__lowerCamelCase    ):
   return 8 * x - 2 * exp(-x    )







def       __a	(						__lowerCamelCase,						__lowerCamelCase,						__lowerCamelCase    ):
   UpperCAmelCase_   :   Any     	=       lower_bound
   UpperCAmelCase_   :   int     	=       upper_bound
   for _ in range(0,						__lowerCamelCase    ):
      UpperCAmelCase_	,  UpperCAmelCase_   :   Optional[Any]     	=       xa, xa - (f(__lowerCamelCase    ) * (xa - xa)) / (f(__lowerCamelCase    ) - f(__lowerCamelCase    ))
   return xa


if __name__ == "__main__":
    print(f"""Example: {secant_method(1, 3, 2)}""")








from __future__ import annotations

import sys
def 							__lowerCAmelCase			(UpperCAmelCase_		):
    if n < 0:
        raise ValueError("""Negative arguments are not supported"""		)
    return _fib(UpperCAmelCase_		)[0]
def 							__lowerCAmelCase			(UpperCAmelCase_		):
    if n == 0:  # (F(0), F(1))
        return (0, 1)

    # F(2n) = F(n)[2F(n+1) − F(n)]
    # F(2n+1) = F(n+1)^2+F(n)^2
    a__			,		a__  			=							_fib(n // 2		)
    a__  			=							a * (b * 2 - a)
    a__  			=							a * a + b * b
    return (d, c + d) if n % 2 else (c, d)


if __name__ == "__main__":
 SCREAMING_SNAKE_CASE_    :       Dict       =							int(sys.argv[1])
 print(F"fibonacci({n}) is {fibonacci(n)}")






