



"""simple docstring"""





def 	__lowerCAmelCase						(		__UpperCamelCase      :			int = 1_0_0_0    ):


						'''simple docstring'''






						return sum(e for e in range(3					, __UpperCamelCase    ) if e % 3 == 0 or e % 5 == 0    )


if __name__ == "__main__":
						print(F'''{solution() = }''')






"""simple docstring"""





def 	__lowerCAmelCase						(		__UpperCamelCase      :			str    ):


						'''simple docstring'''






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


if __name__ == "__main__":
					import doctest

					doctest.testmod()

