

def      A_ (       _UpperCAmelCase = 10**9       ):
						SCREAMING_SNAKE_CASE_:					int    						=			1
						SCREAMING_SNAKE_CASE_:					Any    						=			2

						SCREAMING_SNAKE_CASE_:					Dict    						=			0
						SCREAMING_SNAKE_CASE_:					Any    						=			0
						SCREAMING_SNAKE_CASE_:					List[Any]    						=			0
						while perimeter <= max_perimeter:
												perimeters_sum += perimeter

												prev_value += 2 * value
												value += prev_value

												SCREAMING_SNAKE_CASE_:					Optional[int]    						=			2 * value + 2 if i % 2 == 0 else 2 * value - 2
												i += 1

						return perimeters_sum


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








import warnings

from ...utils import logging
from .image_processing_perceiver import PerceiverImageProcessor


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




class 					lowerCamelCase__				(							__lowercase):




	'''simple docstring'''




	def __init__(   self						:Dict	,  *a						:Tuple	,  **a						:List[Any]		)						->					None:
								warnings.warn(
								    "The class PerceiverFeatureExtractor is deprecated and will be removed in version 5 of Transformers."
								    " Please use PerceiverImageProcessor instead."	,  a	,  )
								super().__init__(*a	,  **a		)