




def 		A_	(							snake_case							:				List[Any]	, snake_case							:				List[Any] = 2	) ->      str:



						'''simple docstring'''

						return round((float(_lowerCAmelCase	) * 9 / 5) + 32	, _lowerCAmelCase	)




def 		A_	(							snake_case							:				Tuple	, snake_case							:				List[str] = 2	) ->      str:



						'''simple docstring'''

						return round(float(_lowerCAmelCase	) + 273.15	, _lowerCAmelCase	)




def 		A_	(							snake_case							:				Optional[int]	, snake_case							:				Tuple = 2	) ->      int:



						'''simple docstring'''

						return round((float(_lowerCAmelCase	) * 9 / 5) + 491.67	, _lowerCAmelCase	)




def 		A_	(							snake_case							:				int	, snake_case							:				Union[str, Any] = 2	) ->      List[Any]:



						'''simple docstring'''

						return round((float(_lowerCAmelCase	) - 32) * 5 / 9	, _lowerCAmelCase	)




def 		A_	(							snake_case							:				Any	, snake_case							:				Dict = 2	) ->      Optional[Any]:



						'''simple docstring'''

						return round(((float(_lowerCAmelCase	) - 32) * 5 / 9) + 273.15	, _lowerCAmelCase	)




def 		A_	(							snake_case							:				Optional[int]	, snake_case							:				Any = 2	) ->      List[str]:



						'''simple docstring'''

						return round(float(_lowerCAmelCase	) + 459.67	, _lowerCAmelCase	)




def 		A_	(							snake_case							:				Tuple	, snake_case							:				List[str] = 2	) ->      List[Any]:



						'''simple docstring'''

						return round(float(_lowerCAmelCase	) - 273.15	, _lowerCAmelCase	)




def 		A_	(							snake_case							:				str	, snake_case							:				Dict = 2	) ->      Any:



						'''simple docstring'''

						return round(((float(_lowerCAmelCase	) - 273.15) * 9 / 5) + 32	, _lowerCAmelCase	)




def 		A_	(							snake_case							:				List[Any]	, snake_case							:				Optional[int] = 2	) ->      Optional[Any]:



						'''simple docstring'''

						return round((float(_lowerCAmelCase	) * 9 / 5)	, _lowerCAmelCase	)




def 		A_	(							snake_case							:				Tuple	, snake_case							:				Dict = 2	) ->      int:



						'''simple docstring'''

						return round((float(_lowerCAmelCase	) - 491.67) * 5 / 9	, _lowerCAmelCase	)




def 		A_	(							snake_case							:				Optional[int]	, snake_case							:				Dict = 2	) ->      Any:



						'''simple docstring'''

						return round(float(_lowerCAmelCase	) - 459.67	, _lowerCAmelCase	)




def 		A_	(							snake_case							:				List[str]	, snake_case							:				List[Any] = 2	) ->      str:



						'''simple docstring'''

						return round((float(_lowerCAmelCase	) * 5 / 9)	, _lowerCAmelCase	)




def 		A_	(							snake_case							:				int	, snake_case							:				List[str] = 2	) ->      List[Any]:



						'''simple docstring'''

						return round((float(_lowerCAmelCase	) * 1.25 + 273.15)	, _lowerCAmelCase	)




def 		A_	(							snake_case							:				Optional[int]	, snake_case							:				List[Any] = 2	) ->      Any:



						'''simple docstring'''

						return round((float(_lowerCAmelCase	) * 2.25 + 32)	, _lowerCAmelCase	)




def 		A_	(							snake_case							:				int	, snake_case							:				List[str] = 2	) ->      Dict:



						'''simple docstring'''

						return round((float(_lowerCAmelCase	) * 1.25)	, _lowerCAmelCase	)




def 		A_	(							snake_case							:				Any	, snake_case							:				Any = 2	) ->      int:



						'''simple docstring'''

						return round((float(_lowerCAmelCase	) * 2.25 + 32 + 459.67)	, _lowerCAmelCase	)


if __name__ == "__main__":
				import doctest

				doctest.testmod()






def 		A_	(							snake_case							:				Union[str, Any]	, snake_case							:				Tuple	, snake_case							:				Optional[Any]	) ->      Union[str, Any]:



						'''simple docstring'''

						assert b != 0, "This cannot accept modulo that is == 0"
						if n == 0:
												return 1

						if n % 2 == 1:
												return (bin_exp_mod(snake_case	, n - 1	, snake_case	) * a) % b

						__UpperCamelCase       					=     bin_exp_mod(snake_case	, n / 2	, snake_case	)
						return (r * r) % b


if __name__ == "__main__":
				try:
								lowercase__							:							Dict													=     int(input("Enter Base : ").strip())
								lowercase__							:							Dict													=     int(input("Enter Power : ").strip())
								lowercase__							:							Dict													=     int(input("Enter Modulo : ").strip())
				except ValueError:
								print("Invalid literal for integer")

				print(bin_exp_mod(BASE, POWER, MODULO))




