



'''simple docstring'''


from transformers import HfArgumentParser, TensorFlowBenchmark, TensorFlowBenchmarkArguments






def  UpperCAmelCase_       (		):


     '''simple docstring'''







     a_       		=HfArgumentParser(lowercase__       )
     a_       		=parser.parse_args_into_dataclasses()[0]
     a_       		=TensorFlowBenchmark(args=lowercase__       )
     try:
          a_       		=parser.parse_args_into_dataclasses()[0]
     except ValueError as e:
          a_       		="Arg --no_{0} is no longer used, please use --no-{0} instead."
          a_       		=" ".join(str(lowercase__       ).split(" "       )[:-1]       )
          a_       		=""
          a_       		=eval(str(lowercase__       ).split(" "       )[-1]       )
          a_       		=[]
          for arg in depreciated_args:
               # arg[2:] removes '--'
               if arg[2:] in TensorFlowBenchmark.deprecated_args:
                    # arg[5:] removes '--no_'
                    full_error_msg += arg_error_msg.format(arg[5:]       )
               else:
                    wrong_args.append(lowercase__       )
          if len(lowercase__       ) > 0:
               a_       		=full_error_msg + begin_error_msg + str(lowercase__       )
          raise ValueError(lowercase__       )
     benchmark.run()


if __name__ == "__main__":
  main()







'''simple docstring'''


from collections.abc import Sequence






def  UpperCAmelCase_       (		lowercase__ = None       ):


     '''simple docstring'''







     if nums is None or not nums:
          raise ValueError("Input sequence should not be empty"       )

     a_       		=nums[0]
     for i in range(1       ,	len(lowercase__       )       ):
          a_       		=nums[i]
          a_       		=max(lowercase__       ,	ans + num       ,	lowercase__       )

     return ans


if __name__ == "__main__":
  import doctest

  doctest.testmod()

  # Try on a sample input from the user
  lowercase							       =			int(input('''Enter number of elements : ''').strip())
  lowercase							       =			list(map(int, input('''\nEnter the numbers : ''').strip().split()))[:n]
  print(max_subsequence_sum(array))


