



import warnings

from ...utils import logging
from .image_processing_imagegpt import ImageGPTImageProcessor


__snake_case       :	List[str]            =logging.get_logger(__name__)



class  lowerCamelCase__    (							lowerCamelCase__):




		'''simple docstring'''



		def __init__(self	,*__lowerCamelCase	,**__lowerCamelCase				)  ->    None:

						"""simple docstring"""






						warnings.warn(
						    '''The class ImageGPTFeatureExtractor is deprecated and will be removed in version 5 of Transformers.'''
						    ''' Please use ImageGPTImageProcessor instead.'''	,__lowerCamelCase	,)
						super().__init__(*__lowerCamelCase	,**__lowerCamelCase				)






from __future__ import annotations






def 			lowerCAmelCase__	(					lowerCamelCase_	:	int):





				'''simple docstring'''

				lowerCAmelCase__  :       Optional[int]				=  str(lowerCamelCase_)
				return len(lowerCamelCase_) == 9 and set(lowerCamelCase_) == set('''123456789''')






def 			lowerCAmelCase__	(					):





				'''simple docstring'''

				for base_num in range(9999 ,4999 ,-1):
								lowerCAmelCase__  :       Union[str, Any]				=  100002 * base_num
								if is_9_pandigital(lowerCamelCase_):
												return candidate

				for base_num in range(333 ,99 ,-1):
								lowerCAmelCase__  :       Any				=  1002003 * base_num
								if is_9_pandigital(lowerCamelCase_):
												return candidate

				return None


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

