"""simple docstring"""







_a  :  dict[str, float]=				{
    "km/h": 1.0,
    "m/s": 3.6,
    "mph": 1.6_0_9_3_4_4,
    "knot": 1.8_5_2,
}

_a  :  dict[str, float]=				{
    "km/h": 1.0,
    "m/s": 0.2_7_7_7_7_7_7_7_8,
    "mph": 0.6_2_1_3_7_1_1_9_2,
    "knot": 0.5_3_9_9_5_6_8_0_3,
}
def 						__UpperCAmelCase       (					UpperCAmelCase_					:       float    ,							UpperCAmelCase_					:       str    ,							UpperCAmelCase_					:       str						)							->    float:

	'''simple docstring'''





	if unit_to not in speed_chart or unit_from not in speed_chart_inverse:
		__snake_case    :							int   	=				(
		    F"Incorrect 'from_type' or 'to_type' value: {unit_from!r}, {unit_to!r}\n"
		    F"Valid values are: {', '.join(UpperCAmelCase_						)}"
		)
		raise ValueError(UpperCAmelCase_						)
	return round(speed * speed_chart[unit_from] * speed_chart_inverse[unit_to]    ,							3						)


if __name__ == "__main__":
	import doctest

	doctest.testmod()






"""simple docstring"""







import math
def 						__UpperCAmelCase       (					UpperCAmelCase_					:       list    ,							UpperCAmelCase_					:       int						)							->    int:

	'''simple docstring'''





	__snake_case    :							List[str]   	=				len(UpperCAmelCase_						)
	__snake_case    :							List[Any]   	=				int(math.floor(math.sqrt(UpperCAmelCase_						)						)						)
	__snake_case    :							Any   	=				0
	while arr[min(UpperCAmelCase_    ,							UpperCAmelCase_						) - 1] < x:
		__snake_case    :							Tuple   	=				step
		step += int(math.floor(math.sqrt(UpperCAmelCase_						)						)						)
		if prev >= n:
			return -1

	while arr[prev] < x:
		__snake_case    :							Union[str, Any]   	=				prev + 1
		if prev == min(UpperCAmelCase_    ,							UpperCAmelCase_						):
			return -1
	if arr[prev] == x:
		return prev
	return -1


if __name__ == "__main__":
	_a  :  str=				input("Enter numbers separated by a comma:\n").strip()
	_a  :  int=				[int(item) for item in user_input.split(",")]
	_a  :  Optional[Any]=				int(input("Enter the number to be searched:\n"))
	_a  :  Tuple=				jump_search(arr, x)
	if res == -1:
		print("Number not found!")
	else:
		print(f'''Number {x} is at index {res}''')





