"""simple docstring"""





class   UpperCAmelCase_			:


      def __init__(     self	,    a							) ->      Tuple:
             # we need a list not a string, so do something to change the type
             lowercase__    :	int     					=			arr.split(','							)


      def 	_UpperCAmelCase (     self							) ->      Any:
             lowercase__    :	Optional[Any]     					=			[int(self.array[0]							)] * len(self.array							)
             lowercase__    :	Union[str, Any]     					=			[int(self.array[0]							)] * len(self.array							)
             for i in range(1	,    len(self.array							)							):
                    lowercase__    :	Optional[int]     					=			max(
                        int(self.array[i]							) + sum_value[i - 1]	,    int(self.array[i]							)							)
                    lowercase__    :	Any     					=			max(sum_value[i]	,    rear[i - 1]							)
             return rear[len(self.array							) - 1]


if __name__ == "__main__":
       _UpperCamelCase     :		str											=					input("please input some numbers:")
       _UpperCamelCase     :		List[Any]											=					SubArray(whole_array)
       _UpperCamelCase     :		Any											=					array.solve_sub_array()
       print(("the results is:", re))


"""simple docstring"""





from collections.abc import Sequence





def        a_  (   _lowerCAmelCase						:				Sequence[float]     ,				_lowerCAmelCase						:				float  ):





       '''simple docstring'''

       return sum(c * (x**i) for i, c in enumerate(_lowerCAmelCase  )  )





def        a_  (   _lowerCAmelCase						:				Sequence[float]     ,				_lowerCAmelCase						:				float  ):





       '''simple docstring'''

       lowercase__    :	int     					=			0.0
       for coeff in reversed(_lowerCAmelCase  ):
              lowercase__    :	List[Any]     					=			result * x + coeff
       return result


if __name__ == "__main__":
       _UpperCamelCase     :		int											=					(0.0, 0.0, 5.0, 9.3, 7.0)
       _UpperCamelCase     :		Dict											=					1_0.0
       print(evaluate_poly(poly, x))
       print(horner(poly, x))

