






def        _snake_case   (_snake_case				:       int)					->	int:
   assert isinstance(_snake_case      ,    _snake_case), f'''The input value of [n={number}] is not an integer'''

   if number == 1:
      return 2
   elif number < 1:
      _lowercase              =f'''The input value of [n={number}] has to be > 0'''
      raise ValueError(_snake_case)
   else:
      _lowercase              =sylvester(number - 1)
      _lowercase              =num - 1
      _lowercase              =num
      return lower * upper + 1


if __name__ == "__main__":
    print(f'''The 8th number in Sylvester\'s sequence: {sylvester(8)}''')










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


