






def 		SCREAMING_SNAKE_CASE							(					__lowerCAmelCase = 10**9			) ->	int:
     UpperCamelCase__			:   Dict       				=  1
     UpperCamelCase__			:   Tuple       				=  2

     UpperCamelCase__			:   int       				=  0
     UpperCamelCase__			:   Optional[int]       				=  0
     UpperCamelCase__			:   Dict       				=  0
     while perimeter <= max_perimeter:
          perimeters_sum += perimeter

          prev_value += 2 * value
          value += prev_value

          UpperCamelCase__			:   Any       				=  2 * value + 2 if i % 2 == 0 else 2 * value - 2
          i += 1

     return perimeters_sum


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







import numpy as np







def 		SCREAMING_SNAKE_CASE							(					__lowerCAmelCase			) ->	np.array:
     return 1 / (1 + np.exp(-vector			))







def 		SCREAMING_SNAKE_CASE							(					__lowerCAmelCase			) ->	np.array:
     return vector * sigmoid(1.7_0_2 * vector			)


if __name__ == "__main__":
 import doctest

 doctest.testmod()