




'''simple docstring'''





def 			__a			(     _UpperCamelCase:					int      ,		_UpperCamelCase:					int      ,		_UpperCamelCase:					int					)		->				str:

					"""simple docstring"""




					if power < 0:
										return -1
					base %= mod
					_snake_case							=   1

					while power > 0:
										if power & 1:
															_snake_case							=   (result * base) % mod
										_snake_case							=   power >> 1
										_snake_case							=   (base * base) % mod

					return result





def 			__a			(     )		->				str:

					"""simple docstring"""




					print(modular_exponential(3      ,		200      ,		13					)					)


if __name__ == "__main__":
			import doctest

			doctest.testmod()

			main()








'''simple docstring'''





UpperCamelCase_		:    Optional[Any]									=		'''
# Diffusers installation
! pip install diffusers transformers datasets accelerate
# To install from source instead of the last release, comment the command above and uncomment the following one.
# ! pip install git+https://github.com/huggingface/diffusers.git
'''

UpperCamelCase_		:    List[Any]									=		[{'''type''': '''code''', '''content''': INSTALL_CONTENT}]


