

'''simple docstring'''
def        _lowerCAmelCase					(						_UpperCamelCase						:     int = 4_00_00_00				)      ->			Dict:
     """simple docstring"""




     _SCREAMING_SNAKE_CASE							    =[0, 1]
     _SCREAMING_SNAKE_CASE							    =0
     while fib[i] <= n:
          fib.append(fib[i] + fib[i + 1]				)
          if fib[i + 2] > n:
               break
          i += 1
     _SCREAMING_SNAKE_CASE							    =0
     for j in range(len(snake_case__				) - 1				):
          if fib[j] % 2 == 0:
               total += fib[j]

     return total


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






"""simple docstring"""


from __future__ import annotations


def 					UpperCAmelCase__       (snake_case__							:					list[float]    ):
  """simple docstring"""

  _snake_case							:		int								=  0.00
  _snake_case							:		int								=  0
  for resistor in resistors:
    if resistor <= 0:
      _snake_case							:		Dict								=  F"Resistor at index {index} has a negative or zero value!"
      raise ValueError(snake_case__    )
    first_sum += 1 / float(snake_case__    )
    index += 1
  return 1 / first_sum


def 					UpperCAmelCase__       (snake_case__							:					list[float]    ):
  """simple docstring"""

  _snake_case							:		Union[str, Any]								=  0.00
  _snake_case							:		Any								=  0
  for resistor in resistors:
    sum_r += resistor
    if resistor < 0:
      _snake_case							:		Any								=  F"Resistor at index {index} has a negative value!"
      raise ValueError(snake_case__    )
    index += 1
  return sum_r


if __name__ == "__main__":
     import doctest

     doctest.testmod()


