

A_	:			dict[str, float]  	=      {
    "km/h": 1.0,
    "m/s": 3.6,
    "mph": 1.609344,
    "knot": 1.852,
}

A_	:			dict[str, float]  	=      {
    "km/h": 1.0,
    "m/s": 0.277777778,
    "mph": 0.621371192,
    "knot": 0.539956803,
}

def 						UpperCamelCase (lowercase_:			float   ,				lowercase_:			str   ,				lowercase_:			str )					->				float:
	if unit_to not in speed_chart or unit_from not in speed_chart_inverse:
		A__							:   List[str]					       =		(
		    f"""Incorrect 'from_type' or 'to_type' value: {unit_from!r}, {unit_to!r}\n"""
		    f"""Valid values are: {', '.join(lowercase_ )}"""
		)
		raise ValueError(lowercase_ )
	return round(speed * speed_chart[unit_from] * speed_chart_inverse[unit_to]   ,				3 )


if __name__ == "__main__":
	import doctest

	doctest.testmod()






from typing import Any

def 						UpperCamelCase (lowercase_:			list )					->				list[Any]:
	if not input_list:
		return []
	A__							:   Any					       =		[input_list.count(lowercase_ ) for value in input_list]
	A__							:   List[Any]					       =		max(lowercase_ )  # Gets the maximum count in the input list.
	# Gets values of modes
	return sorted({input_list[i] for i, value in enumerate(lowercase_ ) if value == y} )


if __name__ == "__main__":
	import doctest

	doctest.testmod()



