






from __future__ import annotations


def   _A   (				SCREAMING_SNAKE_CASE__  :	list[float]       ):




    if len(lowerCAmelCase__       ) < 2:
        raise ValueError('''Monogons and Digons are not polygons in the Euclidean space'''       )
    if any(i <= 0 for i in nums       ):
        raise ValueError('''All values must be greater than 0'''       )
    UpperCamelCase       :int								=   nums.copy()
    copy_nums.sort()
    return copy_nums[-1] < sum(copy_nums[:-1]       )


if __name__ == "__main__":
 import doctest

 doctest.testmod()










"""simple docstring"""







def 				UpperCamelCase_    (    lowerCAmelCase__      :				int = 100						)						->   int:

  """simple docstring"""




  lowerCAmelCase_   :				Any								= (n * (n + 1) // 2) ** 2
  lowerCAmelCase_   :				Optional[int]								= n * (n + 1) * (2 * n + 1) // 6
  return sum_cubes - sum_squares


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





