

"""simple docstring"""




from __future__ import annotations

def 	A       (     snake_case__    ):




			'''simple docstring'''


			if len(snake_case__    ) < 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"""    )
			SCREAMING_SNAKE_CASE__								=      nums.copy()
			copy_nums.sort()
			return copy_nums[-1] < sum(copy_nums[:-1]    )


if __name__ == "__main__":
						import doctest

						doctest.testmod()





"""simple docstring"""




def 	A       (     snake_case__    ):




			'''simple docstring'''


			if not nums:  # Makes sure that the list is not empty
						raise ValueError("""List is empty"""    )

			SCREAMING_SNAKE_CASE__								=      sum(snake_case__    ) / len(snake_case__    )  # Calculate the average
			return sum(abs(x - average    ) for x in nums    ) / len(snake_case__    )


if __name__ == "__main__":
						import doctest

						doctest.testmod()


