


"""simple docstring"""


def    a__       ( __lowercase   ,	__lowercase      )		->		int:
				_A         =	1
				while b > 0:
								if b & 1:
												res *= a

								a *= a
								b >>= 1

				return res






def    a__       ( __lowercase   ,	__lowercase   ,	__lowercase      )		->		Optional[Any]:
				_A         =	1
				while b > 0:
								if b & 1:
												_A         =	((res % c) * (a % c)) % c

								a *= a
								b >>= 1

				return res



"""simple docstring"""


import math
from decimal import Decimal, getcontext






def    a__       ( __lowercase = 400_0000      )		->		int:

				try:
								_A         =	int(__lowercase      )
				except (TypeError, ValueError):
								raise TypeError("Parameter n must be int or castable to int."      )
				if n <= 0:
								raise ValueError("Parameter n must be greater than or equal to one."      )
				_A         =	100
				_A         =	(Decimal(5      ) ** Decimal(0.5      ) + 1) / Decimal(2      )

				_A         =	(math.floor(math.log(n * (phi + 2)   ,	__lowercase      ) - 1      ) // 3) * 3 + 2
				_A         =	Decimal(round(phi ** Decimal(index + 1      )      )      ) / (phi + 2)
				_A         =	num // 2
				return int(__lowercase      )


if __name__ == "__main__":
		print(f'''{solution() = }''')