


'''simple docstring'''
lowerCAmelCase   : Any             =				[sum(int(c, 1_0) ** 2 for c in i.__str__()) for i in range(1_0_0_0_0_0)]




def 	_A  (       A							)  ->				int:
	lowercase						:		List[str]   					=		0
	while number:
		# Increased Speed Slightly by checking every 5 digits together.
		sum_of_digits_squared += DIGITS_SQUARED[number % 1_0_0_0_0_0]
		number //= 1_0_0_0_0_0

	return sum_of_digits_squared


# There are 2 Chains made,
# One ends with 89 with the chain member 58 being the one which when declared first,
# there will be the least number of iterations for all the members to be checked.

# The other one ends with 1 and has only one element 1.

# So 58 and 1 are chosen to be declared at the starting.

# Changed dictionary to an array to quicken the solution
lowerCAmelCase   : Any             =				[None] * 1_0_0_0_0_0_0_0
lowerCAmelCase   : Union[str, Any]             =				True
lowerCAmelCase   : Any             =				False




def 	_A  (       A							)  ->				bool:




	if CHAINS[number - 1] is not None:
		return CHAINS[number - 1]  # type: ignore

	lowercase						:		Union[str, Any]   					=		chain(next_number(_lowerCamelCase							)							)
	lowercase						:		str   					=		number_chain

	while number < 1_0_0_0_0_0_0_0:
		lowercase						:		Tuple   					=		number_chain
		number *= 1_0

	return number_chain




def 	_A  (       A = 1_0_0_0_0_0_0_0							)  ->				int:




	for i in range(1							,_lowerCamelCase							):
		if CHAINS[i] is None:
			chain(i + 1							)

	return CHAINS[:number].count(_lowerCamelCase							)


if __name__ == "__main__":
					import doctest

					doctest.testmod()
					print(F'''{solution() = }''')




"""simple docstring"""






import warnings

from ...utils import logging
from .image_processing_mobilevit import MobileViTImageProcessor


UpperCAmelCase        =				logging.get_logger(__name__)



class 			lowercase					( lowercase__		):






			def __init__(self  :	Dict      ,*SCREAMING_SNAKE_CASE_  :	str      ,**SCREAMING_SNAKE_CASE_  :	Optional[Any]			)       ->	None:





				"""simple docstring"""


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


