


'''simple docstring'''






from math import factorial





def lowerCamelCase__      (						__lowerCamelCase	:							int = 2_0							):







   '''simple docstring'''




   _UpperCAmelCase       :       int							   =2 * n  # middle entry of odd rows starting at row 3 is the solution for n = 1,
   # 2, 3,...
   _UpperCAmelCase       :       Tuple							   =n // 2

   return int(factorial(__lowerCamelCase							) / (factorial(__lowerCamelCase							) * factorial(n - k							))							)


if __name__ == "__main__":
 import sys

 if len(sys.argv) == 1:
  print(solution(20))
 else:
  try:
   lowercase							=int(sys.argv[1])
   print(solution(n))
  except ValueError:
   print('Invalid entry - please enter a number.')





'''simple docstring'''






import jax.numpy as jnp

from ...utils import logging
from ..ta.modeling_flax_ta import FlaxTaEncoderModel, FlaxTaForConditionalGeneration, FlaxTaModel
from .configuration_mta import MTaConfig


lowercase							=logging.get_logger(__name__)

lowercase							='T5Config'





def lowerCamelCase__      (						__lowerCamelCase	:							jnp.array	,   __lowerCamelCase	:							int	,   __lowerCamelCase	:							int							):







   '''simple docstring'''




   _UpperCAmelCase       :       List[Any]							   =jnp.zeros_like(__lowerCamelCase							)
   _UpperCAmelCase       :       Union[str, Any]							   =shifted_input_ids.at[:, 1:].set(input_ids[:, :-1]							)
   _UpperCAmelCase       :       List[Any]							   =shifted_input_ids.at[:, 0].set(__lowerCamelCase							)

   _UpperCAmelCase       :       str							   =jnp.where(shifted_input_ids == -1_0_0	,   __lowerCamelCase	,   __lowerCamelCase							)
   return shifted_input_ids






class  __magic_name__							(		lowerCAmelCase    ):
       UpperCAmelCase										="mt5"
       UpperCAmelCase										=MTaConfig






class  __magic_name__							(		lowerCAmelCase    ):
       UpperCAmelCase										="mt5"
       UpperCAmelCase										=MTaConfig






class  __magic_name__							(		lowerCAmelCase    ):
       UpperCAmelCase										="mt5"
       UpperCAmelCase										=MTaConfig

