



def 		lowerCAmelCase__    (					UpperCamelCase_				:       int = 1_0**9	)->  int:
    A__		 =					1
    A__		 =					2

    A__		 =					0
    A__		 =					0
    A__		 =					0
    while perimeter <= max_perimeter:
        perimeters_sum += perimeter

        prev_value += 2 * value
        value += prev_value

        A__		 =					2 * value + 2 if i % 2 == 0 else 2 * value - 2
        i += 1

    return perimeters_sum


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





import jax.numpy as jnp

from ...utils import logging
from ..ta.modeling_flax_ta import FlaxTaEncoderModel, FlaxTaForConditionalGeneration, FlaxTaModel
from .configuration_mta import MTaConfig


_lowercase						  =		logging.get_logger(__name__)

_lowercase						  =		"T5Config"



def 		lowerCAmelCase__    (					UpperCamelCase_				:       jnp.array ,       UpperCamelCase_				:       int ,       UpperCamelCase_				:       int	)->  jnp.ndarray:
    A__		 =					jnp.zeros_like(UpperCamelCase_	)
    A__		 =					shifted_input_ids.at[:, 1:].set(input_ids[:, :-1]	)
    A__		 =					shifted_input_ids.at[:, 0].set(UpperCamelCase_	)

    A__		 =					jnp.where(shifted_input_ids == -1_0_0 ,       UpperCamelCase_ ,       UpperCamelCase_	)
    return shifted_input_ids



class     _UpperCAmelCase			(       A__     ):
     UpperCamelCase__		    =				'''mt5'''
     UpperCamelCase__		    =				MTaConfig







class     _UpperCAmelCase			(       A__     ):
     UpperCamelCase__		    =				'''mt5'''
     UpperCamelCase__		    =				MTaConfig







class     _UpperCAmelCase			(       A__     ):
     UpperCamelCase__		    =				'''mt5'''
     UpperCamelCase__		    =				MTaConfig
