


'''simple docstring'''

from __future__ import annotations
def      __a	(							A__       )						->			Optional[Any]:







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


if __name__ == "__main__":
       import doctest

       doctest.testmod()






"""simple docstring"""

def lowerCAmelCase_   (					UpperCamelCase__						:			list					, UpperCamelCase__						:			int					, UpperCamelCase__						:			int = 0					, UpperCamelCase__						:			int = 0			):






 """simple docstring"""







 __lowercase						=						right or len(UpperCamelCase__			) - 1
 if left > right:
  return -1
 elif list_data[left] == key:
  return left
 elif list_data[right] == key:
  return right
 else:
  return search(UpperCamelCase__					, UpperCamelCase__					, left + 1					, right - 1			)


if __name__ == "__main__":
       import doctest

       doctest.testmod()
