


'''simple docstring'''



def      UpperCAmelCase__   (      UpperCAmelCase_       :							int				)	->						int:

     if not isinstance(UpperCAmelCase_ ,       UpperCAmelCase_				):
          __lowerCamelCase  :      Union[str, Any]														=						F'Input value of [number={number}] must be an integer'
          raise TypeError(UpperCAmelCase_				)

     if number < 1:
          __lowerCamelCase  :      Tuple														=						F'Input value of [number={number}] must be > 0'
          raise ValueError(UpperCAmelCase_				)

     __lowerCamelCase  :      Optional[int]														=						1

     for i in range(1 ,       UpperCAmelCase_				):
          current_number *= 4 * i - 2
          current_number //= i + 1

     return current_number


if __name__ == "__main__":
      import doctest

      doctest.testmod()














from dataclasses import dataclass
from enum import Enum
from typing import List, Optional, Union

import numpy as np
import PIL
from PIL import Image

from ...utils import BaseOutput, is_torch_available, is_transformers_available






@dataclass
class 					SCREAMING_SNAKE_CASE_  (       _a ):
       """simple docstring"""


       __lowerCAmelCase    :		Union[List[PIL.Image.Image], np.ndarray]
       __lowerCAmelCase    :		Optional[List[bool]]


if is_transformers_available() and is_torch_available():
    from .pipeline_semantic_stable_diffusion import SemanticStableDiffusionPipeline


