


"""simple docstring"""



from __future__ import annotations
def     UpperCAmelCase    (					_lowercase   :      int  )	->   list[int]:


	"""simple docstring"""




	assert (
	    isinstance(_lowercase ,      _lowercase  ) and mask > 0
	), F"""mask needs to be positive integer, your input {mask}"""
	lowerCAmelCase_			       = []
	lowerCAmelCase_			       = mask

	while submask:
		all_submasks.append(_lowercase  )
		lowerCAmelCase_			       = (submask - 1) & mask

	return all_submasks


if __name__ == "__main__":
		import doctest

		doctest.testmod()



"""simple docstring"""



lowercase_							 =       [0.485, 0.456, 0.406]
lowercase_							 =       [0.229, 0.224, 0.225]
lowercase_							 =       [0.5, 0.5, 0.5]
lowercase_							 =       [0.5, 0.5, 0.5]
lowercase_							 =       [0.4814_5466, 0.457_8275, 0.4082_1073]
lowercase_							 =       [0.2686_2954, 0.2613_0258, 0.2757_7711]