





'''simple docstring'''




def 		__A		(  lowerCamelCase_	):


		"""simple docstring"""



		SCREAMING_SNAKE_CASE :				Tuple		=			[1]

		SCREAMING_SNAKE_CASE,							SCREAMING_SNAKE_CASE,							SCREAMING_SNAKE_CASE :				Dict		=			0, 0, 0
		SCREAMING_SNAKE_CASE :				List[Any]		=			ugly_nums[ia] * 2
		SCREAMING_SNAKE_CASE :				Dict		=			ugly_nums[ia] * 3
		SCREAMING_SNAKE_CASE :				str		=			ugly_nums[ia] * 5

		for _ in range(1			,			lowerCamelCase_	):
				SCREAMING_SNAKE_CASE :				Dict		=			min(lowerCamelCase_			,			lowerCamelCase_			,			lowerCamelCase_	)
				ugly_nums.append(lowerCamelCase_	)
				if next_num == next_a:
						ia += 1
						SCREAMING_SNAKE_CASE :				Any		=			ugly_nums[ia] * 2
				if next_num == next_a:
						ia += 1
						SCREAMING_SNAKE_CASE :				Optional[Any]		=			ugly_nums[ia] * 3
				if next_num == next_a:
						ia += 1
						SCREAMING_SNAKE_CASE :				Tuple		=			ugly_nums[ia] * 5
		return ugly_nums[-1]


if __name__ == "__main__":
							from doctest import testmod

							testmod(verbose=True)
							print(f'''{ugly_numbers(200) = }''')










'''simple docstring'''




from __future__ import annotations



def 		__A		(  lowerCamelCase_			,			lowerCamelCase_	):


		"""simple docstring"""



		if partitions <= 0:
				raise ValueError("""partitions must be a positive number!"""	)
		if partitions > number_of_bytes:
				raise ValueError("""partitions can not > number_of_bytes!"""	)
		SCREAMING_SNAKE_CASE :				int		=			number_of_bytes // partitions
		SCREAMING_SNAKE_CASE :				int		=			[]
		for i in range(lowerCamelCase_	):
				SCREAMING_SNAKE_CASE :				Optional[Any]		=			i * bytes_per_partition + 1
				SCREAMING_SNAKE_CASE :				Optional[int]		=			(
				    number_of_bytes if i == partitions - 1 else (i + 1) * bytes_per_partition
				)
				allocation_list.append(f'''{start_bytes}-{end_bytes}'''	)
		return allocation_list


if __name__ == "__main__":
							import doctest

							doctest.testmod()



