
'''simple docstring'''
from math import ceil

def 						UpperCamelCase_     (	__SCREAMING_SNAKE_CASE = 1_0_0_1       ):
    """simple docstring"""






    snake_case_ :    Optional[Any]     			=						1

    for i in range(1,		int(ceil(n / 2.0       )       )       ):
        snake_case_ :    Any     			=						2 * i + 1
        snake_case_ :    str     			=						2 * i
        snake_case_ :    Optional[Any]     			=						total + 4 * odd**2 - 6 * even

    return total


if __name__ == "__main__":
  import sys

  if len(sys.argv) == 1:
    print(solution())
  else:
    try:
      a_     :   Dict											=						int(sys.argv[1])
      print(solution(n))
    except ValueError:
      print("Invalid entry - please enter a number")






'''simple docstring'''
from __future__ import annotations

def 						UpperCamelCase_     (	__SCREAMING_SNAKE_CASE       ):
    """simple docstring"""






    snake_case_ :    List[Any]     			=						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(__SCREAMING_SNAKE_CASE       )
        first_sum += 1 / float(__SCREAMING_SNAKE_CASE       )
        index += 1
    return 1 / first_sum

def 						UpperCamelCase_     (	__SCREAMING_SNAKE_CASE       ):
    """simple docstring"""






    snake_case_ :    Union[str, Any]     			=						0.00
    snake_case_ :    List[Any]     			=						0
    for resistor in resistors:
        sum_r += resistor
        if resistor < 0:
            snake_case_ :    str     			=						f'Resistor at index {index} has a negative value!'
            raise ValueError(__SCREAMING_SNAKE_CASE       )
        index += 1
    return sum_r


if __name__ == "__main__":
  import doctest

  doctest.testmod()




