




from __future__ import annotations




def  a_		(							__snake_case					)	->			bool:

			'''simple docstring'''


			UpperCamelCase_     				= 42
			UpperCamelCase_     				= list(__snake_case					)
			UpperCamelCase_				,   UpperCamelCase_     				= _vector[:-1], int(_vector[-1]					)
			UpperCamelCase_     				= [int(__snake_case					) for digit in __vector]

			vector.reverse()
			for i, digit in enumerate(__snake_case					):
						if i & 1 == 0:
									UpperCamelCase_     				= digit * 2
									if doubled > 9:
												doubled -= 9
									check_digit += doubled
						else:
									check_digit += digit

			return check_digit % 1_0 == 0


if __name__ == "__main__":
				import doctest

				doctest.testmod()
				assert is_luhn("""79927398713""")
				assert not is_luhn("""79927398714""")






def  a_		(							__snake_case					)	->			str:

			'''simple docstring'''


			return " ".join([word[::-1] for word in input_str.split()]					)


if __name__ == "__main__":
				import doctest

				doctest.testmod()
