

def      A__					(			__A  :						int = 10**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() = }""")





from typing import TYPE_CHECKING

from ...utils import _LazyModule


_lowerCamelCase      :					Tuple					    =      {'''tokenization_byt5''': ['''ByT5Tokenizer''']}


if TYPE_CHECKING:
   from .tokenization_byta import ByTaTokenizer
else:
   import sys

   _lowerCamelCase      :					Optional[int]					    =      _LazyModule(__name__, globals()['''__file__'''], _import_structure, module_spec=__spec__)


