





from typing import TYPE_CHECKING

from ...utils import OptionalDependencyNotAvailable, _LazyModule, is_torch_available


__lowerCAmelCase     =			{"configuration_umt5": ["UMT5Config", "UMT5OnnxConfig"]}


try:
				if not is_torch_available():
								raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
				pass
else:
				__lowerCAmelCase     =			[
				    "UMT5EncoderModel",
				    "UMT5ForConditionalGeneration",
				    "UMT5ForQuestionAnswering",
				    "UMT5Model",
				    "UMT5PreTrainedModel",
				]

if TYPE_CHECKING:
				from .configuration_umta import UMTaConfig, UMTaOnnxConfig

				try:
								if not is_torch_available():
												raise OptionalDependencyNotAvailable()
				except OptionalDependencyNotAvailable:
								pass
				else:
								from .modeling_umta import (
								    UMTaEncoderModel,
								    UMTaForConditionalGeneration,
								    UMTaForQuestionAnswering,
								    UMTaModel,
								    UMTaPreTrainedModel,
								)
else:
				import sys

				__lowerCAmelCase     =			_LazyModule(__name__, globals()["__file__"], _import_structure, module_spec=__spec__)












def     a						(      _lowercase   :     int ,						_lowercase   :     int       )     ->int:
		UpperCamelCase__         =	1.0
		for i in range(1 ,						r + 1       ):
				ret *= (n + 1 - i) / i
		return round(_lowercase       )

def     a						(      _lowercase   :     int       )     ->int:
		return choose(8 + n ,						_lowercase       ) + choose(9 + n ,						_lowercase       ) - 1_0

def     a						(      _lowercase   :     int       )     ->int:
		return sum(non_bouncy_exact(_lowercase       ) for i in range(1 ,						n + 1       )       )

def     a						(      _lowercase   :     int = 1_0_0       )     ->int:
		return non_bouncy_upto(_lowercase       )


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





