


'''simple docstring'''

from __future__ import annotations

from enum import Enum







class 			UpperCAmelCase			(							SCREAMING_SNAKE_CASE__):
 _lowerCamelCase			:       List[Any]            =       24
 _lowerCamelCase			:       Optional[Any]            =       21
 _lowerCamelCase			:       int            =       18
 _lowerCamelCase			:       List[str]            =       15
 _lowerCamelCase			:       Union[str, Any]            =       12
 _lowerCamelCase			:       Optional[Any]            =       9
 _lowerCamelCase			:       Dict            =       6
 _lowerCamelCase			:       Any            =       3
 _lowerCamelCase			:       str            =       2
 _lowerCamelCase			:       int            =       1
 _lowerCamelCase			:       List[str]            =       -1
 _lowerCamelCase			:       Any            =       -2
 _lowerCamelCase			:       Tuple            =       -3
 _lowerCamelCase			:       Union[str, Any]            =       -6
 _lowerCamelCase			:       List[str]            =       -9
 _lowerCamelCase			:       List[str]            =       -12
 _lowerCamelCase			:       Any            =       -15
 _lowerCamelCase			:       Optional[Any]            =       -18
 _lowerCamelCase			:       Optional[Any]            =       -21
 _lowerCamelCase			:       int            =       -24







class 			UpperCAmelCase			(							SCREAMING_SNAKE_CASE__):
 _lowerCamelCase			:       str            =       8
 _lowerCamelCase			:       int            =       7
 _lowerCamelCase			:       str            =       6
 _lowerCamelCase			:       Optional[Any]            =       5
 _lowerCamelCase			:       List[str]            =       4
 _lowerCamelCase			:       Tuple            =       3
 _lowerCamelCase			:       List[Any]            =       2
 _lowerCamelCase			:       Any            =       1







def 							SCREAMING_SNAKE_CASE__(		_UpperCamelCase   :					float     ,		_UpperCamelCase   :					str | SIUnit     ,		_UpperCamelCase   :					str | SIUnit     ,		)		->       float:





   '''simple docstring'''







   if isinstance(_UpperCamelCase     ,		_UpperCamelCase ):
      UpperCamelCase__			    =    SIUnit[known_prefix.lower()]
   if isinstance(_UpperCamelCase     ,		_UpperCamelCase ):
      UpperCamelCase__			    =    SIUnit[unknown_prefix.lower()]
   UpperCamelCase__			    =    known_amount * (
       10 ** (known_prefix.value - unknown_prefix.value)
   )
   return unknown_amount



def 							SCREAMING_SNAKE_CASE__(		_UpperCamelCase   :					float     ,		_UpperCamelCase   :					str | BinaryUnit     ,		_UpperCamelCase   :					str | BinaryUnit     ,		)		->       float:





   '''simple docstring'''







   if isinstance(_UpperCamelCase     ,		_UpperCamelCase ):
      UpperCamelCase__			    =    BinaryUnit[known_prefix.lower()]
   if isinstance(_UpperCamelCase     ,		_UpperCamelCase ):
      UpperCamelCase__			    =    BinaryUnit[unknown_prefix.lower()]
   UpperCamelCase__			    =    known_amount * (
       2 ** ((known_prefix.value - unknown_prefix.value) * 10)
   )
   return unknown_amount


if __name__ == "__main__":
       import doctest

       doctest.testmod()




import math
from decimal import Decimal, getcontext




def 						UpperCAmelCase (    _lowerCamelCase = 400_0000     ):

			try:
						A				:       Any														=    int(_lowerCamelCase     )
			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				:       int														=    100
			A				:       Tuple														=    (Decimal(5     ) ** Decimal(0.5     ) + 1) / Decimal(2     )

			A				:       str														=    (math.floor(math.log(n * (phi + 2)			,     _lowerCamelCase     ) - 1     ) // 3) * 3 + 2
			A				:       Optional[int]														=    Decimal(round(phi ** Decimal(index + 1     )     )     ) / (phi + 2)
			A				:       str														=    num // 2
			return int(_lowerCamelCase     )


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