
'''simple docstring'''






A			      =      frozenset(
    [
        'prompt',
        'height',
        'width',
        'guidance_scale',
        'negative_prompt',
        'prompt_embeds',
        'negative_prompt_embeds',
        'cross_attention_kwargs',
    ]
)

A			      =      frozenset(['prompt', 'negative_prompt'])

A			      =      frozenset([])

A			      =      frozenset(['image'])

A			      =      frozenset(
    [
        'image',
        'height',
        'width',
        'guidance_scale',
    ]
)

A			      =      frozenset(['image'])

A			      =      frozenset(
    [
        'prompt',
        'image',
        'height',
        'width',
        'guidance_scale',
        'negative_prompt',
        'prompt_embeds',
        'negative_prompt_embeds',
    ]
)

A			      =      frozenset(['prompt', 'image', 'negative_prompt'])

A			      =      frozenset(
    [
        # Text guided image variation with an image mask
        'prompt',
        'image',
        'mask_image',
        'height',
        'width',
        'guidance_scale',
        'negative_prompt',
        'prompt_embeds',
        'negative_prompt_embeds',
    ]
)

A			      =      frozenset(['prompt', 'image', 'mask_image', 'negative_prompt'])

A			      =      frozenset(
    [
        # image variation with an image mask
        'image',
        'mask_image',
        'height',
        'width',
        'guidance_scale',
    ]
)

A			      =      frozenset(['image', 'mask_image'])

A			      =      frozenset(
    [
        'example_image',
        'image',
        'mask_image',
        'height',
        'width',
        'guidance_scale',
    ]
)

A			      =      frozenset(['example_image', 'image', 'mask_image'])

A			      =      frozenset(['class_labels'])

A			      =      frozenset(['class_labels'])

A			      =      frozenset(['batch_size'])

A			      =      frozenset([])

A			      =      frozenset(['batch_size'])

A			      =      frozenset([])

A			      =      frozenset(
    [
        'prompt',
        'audio_length_in_s',
        'guidance_scale',
        'negative_prompt',
        'prompt_embeds',
        'negative_prompt_embeds',
        'cross_attention_kwargs',
    ]
)

A			      =      frozenset(['prompt', 'negative_prompt'])
A			      =      frozenset(['input_tokens'])

A			      =      frozenset(['input_tokens'])


'''simple docstring'''






from __future__ import annotations





def    UpperCAmelCase							(  UpperCAmelCase__							:							int):
				lowerCamelCase					:			List[Any]									= str(UpperCAmelCase__)
				return len(UpperCAmelCase__) == 9 and set(UpperCAmelCase__) == set('123456789')





def    UpperCAmelCase							(  ):
				for base_num in range(99_99       ,							49_99       ,							-1):
								lowerCamelCase					:			Tuple									= 10_00_02 * base_num
								if is_9_pandigital(UpperCAmelCase__):
												return candidate

				for base_num in range(3_33       ,							99       ,							-1):
								lowerCamelCase					:			List[Any]									= 1_00_20_03 * base_num
								if is_9_pandigital(UpperCAmelCase__):
												return candidate

				return None


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