
'''simple docstring'''



def 				lowerCAmelCase_		(			SCREAMING_SNAKE_CASE_ = 10_00  )       ->       int:




			"""simple docstring"""
			_SCREAMING_SNAKE_CASE       	=			0
			_SCREAMING_SNAKE_CASE       	=			(n - 1) // 3
			total += ((terms) * (6 + (terms - 1) * 3)) // 2  # total of an A.P.
			_SCREAMING_SNAKE_CASE       	=			(n - 1) // 5
			total += ((terms) * (10 + (terms - 1) * 5)) // 2
			_SCREAMING_SNAKE_CASE       	=			(n - 1) // 15
			total -= ((terms) * (30 + (terms - 1) * 15)) // 2
			return total


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








'''simple docstring'''



def 				lowerCAmelCase_		(			SCREAMING_SNAKE_CASE_  )       ->       str:




   """simple docstring"""
   return " ".join(sorted(set(sentence.split()  )  )  )


if __name__ == "__main__":
     import doctest

     doctest.testmod()






