




import torch

from transformers import PreTrainedModel

from .custom_configuration import CustomConfig, NoSuperInitConfig

class        _lowerCamelCase  (	_SCREAMING_SNAKE_CASE      ):

      """simple docstring"""

      lowerCAmelCase__	:       List[str]			=    CustomConfig







      def __init__(   self    :       List[Any]       ,				snake_case    :       Union[str, Any] ):
          super().__init__(snake_case )
          __UpperCamelCase     						=  torch.nn.Linear(config.hidden_size       ,				config.hidden_size )







      def 					snake_case		(   self    :       List[str]       ,				snake_case    :       int ):
          return self.linear(snake_case )







      def 					snake_case		(   self    :       Optional[int]       ,				snake_case    :       Optional[int] ):
          pass







class        _lowerCamelCase  (	_SCREAMING_SNAKE_CASE      ):

      """simple docstring"""

      lowerCAmelCase__	:       int			=    NoSuperInitConfig







      def __init__(   self    :       Tuple       ,				snake_case    :       int ):
          super().__init__(snake_case )
          __UpperCamelCase     						=  torch.nn.Linear(config.attribute       ,				config.attribute )







      def 					snake_case		(   self    :       Dict       ,				snake_case    :       Any ):
          return self.linear(snake_case )







      def 					snake_case		(   self    :       Dict       ,				snake_case    :       Tuple ):
          pass












def     __SCREAMING_SNAKE_CASE      (     lowercase_    ,   lowercase_					)				->		int:

    """simple docstring"""


    __UpperCamelCase     						=  1.0
    for i in range(1    ,   r + 1					):
        ret *= (n + 1 - i) / i
    return round(lowercase_					)




def     __SCREAMING_SNAKE_CASE      (     lowercase_					)				->		int:

    """simple docstring"""


    return choose(8 + n    ,   lowercase_					) + choose(9 + n    ,   lowercase_					) - 10




def     __SCREAMING_SNAKE_CASE      (     lowercase_					)				->		int:

    """simple docstring"""


    return sum(non_bouncy_exact(lowercase_					) for i in range(1    ,   n + 1					)					)




def     __SCREAMING_SNAKE_CASE      (     lowercase_ = 1_00					)				->		int:

    """simple docstring"""


    return non_bouncy_upto(lowercase_					)


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






