


'''simple docstring'''




from __future__ import annotations

def 			__UpperCamelCase    (    _A    :				list[float]				)    ->      bool:




	"""simple docstring"""





	if len(_A				) < 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'				)
	lowerCAmelCase					:    List[Any]      							= nums.copy()
	copy_nums.sort()
	return copy_nums[-1] < sum(copy_nums[:-1]				)


if __name__ == "__main__":
				import doctest

				doctest.testmod()




'''simple docstring'''




import math

def 			__UpperCamelCase    (    _A    :				int = 1_00				)    ->      int:




	"""simple docstring"""





	lowerCAmelCase					:    List[Any]      							= sum(i * i for i in range(1					,   n + 1				)				)
	lowerCAmelCase					:    Optional[Any]      							= int(math.pow(sum(range(1					,   n + 1				)				)					,   2				)				)
	return square_of_sum - sum_of_squares


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