input: def find_max_element(array: List[int]) -> int:
      """Find the maximum element in a given array.
      >>> find_max_element([1, 10, 50, 3, 8])
      50
      """
      if not array:
          raise ValueError("The array must not be empty")
      return max(array)
output:     if not array:
          raise ValueError("The array must not be empty")
      return max(array)