





_A					:    str   =  {
    'km/h': 1.0,
    'm/s': 3.6,
    'mph': 1.609_344,
    'knot': 1.852,
}

_A					:    Dict   =  {
    'km/h': 1.0,
    'm/s': 0.277_777_778,
    'mph': 0.621_371_192,
    'knot': 0.539_956_803,
}



def        _a						(    UpperCAmelCase			,  UpperCAmelCase			,  UpperCAmelCase     )				->				Optional[Any]:







   """simple docstring"""


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


if __name__ == "__main__":
       import doctest

       doctest.testmod()











def      lowercase__      (     __snake_case    :							int  ):


					'''simple docstring'''


					UpperCAmelCase_    :      list[list[int]]            =						[[0 for _ in range(__snake_case  )] for _ in range(m + 1  )]
					for i in range(m + 1  ):
										UpperCAmelCase_    :      Optional[Any]            =						1

					for n in range(m + 1  ):
										for k in range(1     ,       __snake_case  ):
															memo[n][k] += memo[n][k - 1]
															if n - k > 0:
																				memo[n][k] += memo[n - k - 1][k]

					return memo[m][m - 1]


if __name__ == "__main__":
		import sys

		if len(sys.argv) == 1:
				try:
						__UpperCAmelCase								=						int(input('Enter a number: ').strip())
						print(partition(n))
				except ValueError:
						print('Please enter a number.')
		else:
				try:
						__UpperCAmelCase								=						int(sys.argv[1])
						print(partition(n))
				except ValueError:
						print('Please pass a number.')






