






__snake_case			:			List[Any]			   =   {
    """kilogram""": 1,
    """gram""": pow(10, 3),
    """milligram""": pow(10, 6),
    """metric-ton""": pow(10, -3),
    """long-ton""": 0.0009842073,
    """short-ton""": 0.0011023122,
    """pound""": 2.2046244202,
    """stone""": 0.1574731728,
    """ounce""": 35.273990723,
    """carrat""": 50_00,
    """atomic-mass-unit""": 6.0_2213_6652e26,
}

__snake_case			:			str			   =   {
    """kilogram""": 1,
    """gram""": pow(10, -3),
    """milligram""": pow(10, -6),
    """metric-ton""": pow(10, 3),
    """long-ton""": 10_16.0_46_08,
    """short-ton""": 9_07.1_84,
    """pound""": 0.453592,
    """stone""": 6.35029,
    """ounce""": 0.0283495,
    """carrat""": 0.0002,
    """atomic-mass-unit""": 1.6_6054_0199e-27,
}







def 		_UpperCamelCase      (			UpperCamelCase_				:    Tuple			,				UpperCamelCase_				:    int			,				UpperCamelCase_				:    List[str]						)     ->      float:

						"""simple docstring"""



						if to_type not in KILOGRAM_CHART or from_type not in WEIGHT_TYPE_CHART:
												lowerCAmelCase__			  =  (
												    F"Invalid 'from_type' or 'to_type' value: {from_type!r}, {to_type!r}\n"
												    F"Supported values are: {', '.join(__lowercase						)}"
												)
												raise ValueError(__lowercase						)
						return value * KILOGRAM_CHART[to_type] * WEIGHT_TYPE_CHART[from_type]


if __name__ == "__main__":
					import doctest

					doctest.testmod()









"""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() = }''')