


"""simple docstring"""


from math import factorial




def   snake_case		(     UpperCamelCase__       :						Tuple = 20    )   ->      int:
      lowerCamelCase					:					int        =	2 * n  # middle entry of odd rows starting at row 3 is the solution for n = 1,
      # 2, 3,...
      lowerCamelCase					:					Dict        =	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:
            __lowerCamelCase      :List[str]	    =		int(sys.argv[1])
            print(solution(n))
        except ValueError:
            print('Invalid entry - please enter a number.')










"""simple docstring"""


from typing import TYPE_CHECKING

from ...utils import (
    OptionalDependencyNotAvailable,
    _LazyModule,
    is_torch_available,
)


__lowerCamelCase      :Optional[Any]	    =		{
    'configuration_encodec': [
        'ENCODEC_PRETRAINED_CONFIG_ARCHIVE_MAP',
        'EncodecConfig',
    ],
    'feature_extraction_encodec': ['EncodecFeatureExtractor'],
}

try:
    if not is_torch_available():
        raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
    pass
else:
    __lowerCamelCase      :Union[str, Any]	    =		[
        'ENCODEC_PRETRAINED_MODEL_ARCHIVE_LIST',
        'EncodecModel',
        'EncodecPreTrainedModel',
    ]

if TYPE_CHECKING:
    from .configuration_encodec import (
        ENCODEC_PRETRAINED_CONFIG_ARCHIVE_MAP,
        EncodecConfig,
    )
    from .feature_extraction_encodec import EncodecFeatureExtractor

    try:
        if not is_torch_available():
            raise OptionalDependencyNotAvailable()
    except OptionalDependencyNotAvailable:
        pass
    else:
        from .modeling_encodec import (
            ENCODEC_PRETRAINED_MODEL_ARCHIVE_LIST,
            EncodecModel,
            EncodecPreTrainedModel,
        )

else:
    import sys

    __lowerCamelCase      :Dict	    =		_LazyModule(__name__, globals()['__file__'], _import_structure, module_spec=__spec__)




