


'''simple docstring'''






def 	_A				(lowerCAmelCase__  :float				,						lowerCAmelCase__  :float		)   ->  float:




     '''simple docstring'''



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


if __name__ == "__main__":
       import doctest

       doctest.testmod(verbose=True)





'''simple docstring'''






from typing import Any






def 	_A				(lowerCAmelCase__  :list		)   ->  list[Any]:




     '''simple docstring'''



     if not input_list:
          return []
     _a			      =							[input_list.count(lowerCAmelCase__		) for value in input_list]
     _a			      =							max(lowerCAmelCase__		)  # Gets the maximum count in the input list.
     # Gets values of modes
     return sorted({input_list[i] for i, value in enumerate(lowerCAmelCase__		) if value == y}		)


if __name__ == "__main__":
 import doctest

 doctest.testmod()

