



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

import numpy as np
import PIL

from ...utils import BaseOutput, is_invisible_watermark_available, is_torch_available, is_transformers_available





@dataclass
class    __lowerCAmelCase					(	lowerCamelCase__			):
				__lowerCamelCase					=							42


if is_transformers_available() and is_torch_available() and is_invisible_watermark_available():
	from .pipeline_stable_diffusion_xl import StableDiffusionXLPipeline
	from .pipeline_stable_diffusion_xl_imgaimg import StableDiffusionXLImgaImgPipeline





'''simple docstring'''





def   A			(							A_				:       int							):
						return n * (2 * n - 1)

def   A			(							A_				:       int							):
						snake_case							:  Optional[Any]			=     (1 + 24 * n) ** 0.5
						return ((1 + root) / 6) % 1 == 0

def   A			(							A_				:       int = 144							):
						snake_case							:  Any			=     start
						snake_case							:  Any			=     hexagonal_num(A_							)
						while not is_pentagonal(A_							):
												n += 1
												snake_case							:  Optional[Any]			=     hexagonal_num(A_							)
						return num


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

