

"""simple docstring"""




from __future__ import annotations
def    __SCREAMING_SNAKE_CASE						(						lowercase__      ):
					"""simple docstring"""
					assert (
					    isinstance(lowercase__			,							lowercase__      ) and mask > 0
					), F"""mask needs to be positive integer, your input {mask}"""
					A			=					[]
					A			=					mask

					while submask:
										all_submasks.append(lowercase__      )
										A			=					(submask - 1) & mask

					return all_submasks


if __name__ == "__main__":
	import doctest

	doctest.testmod()








"""simple docstring"""




def    __SCREAMING_SNAKE_CASE						(						lowercase__ = 1_000      ):
					"""simple docstring"""
					return sum(i for i in range(lowercase__      ) if i % 3 == 0 or i % 5 == 0      )


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





