



'''simple docstring'''


def 				__lowerCamelCase				(   A__    ,						A__    )       ->	float:






   """simple docstring"""
   if mass < 0:
      raise ValueError('The mass of a body cannot be negative'    )
   return 0.5 * mass * abs(A__    ) * abs(A__    )


if __name__ == "__main__":
   import doctest

   doctest.testmod(verbose=True)




from __future__ import annotations
def      a      (			A__	:   list[int]     )    ->      int:





      """simple docstring"""



      if not nums:
            return 0
      _lowercase	       =nums[0]
      _lowercase	       =0
      for num in nums[1:]:
            _lowercase       ,       _lowercase	       =(
                max_excluding + num,
                max(A__      ,   A__     ),
            )
      return max(A__      ,   A__     )


if __name__ == "__main__":
  import doctest

  doctest.testmod()


