




def 		_A(       UpperCamelCase__							:			int				,       UpperCamelCase__							:			int				)    -> str:
							'''simple docstring'''


							if not isinstance(UpperCamelCase__				,       UpperCamelCase__				):
														raise ValueError('''iterations must be defined as integers'''				)
							if not isinstance(UpperCamelCase__				,       UpperCamelCase__				) or not number >= 1:
														raise ValueError(
														    '''starting number must be
                         and integer and be more than 0'''				)
							if not iterations >= 1:
														raise ValueError('''Iterations must be done more than 0 times to play FizzBuzz'''				)

							__lowercase      =    ''''''
							while number <= iterations:
														if number % 3 == 0:
																					out += "Fizz"
														if number % 5 == 0:
																					out += "Buzz"
														if 0 not in (number % 3, number % 5):
																					out += str(UpperCamelCase__				)

														# print(out)
														number += 1
														out += " "
							return out


if __name__ == "__main__":
			import doctest

			doctest.testmod()












from __future__ import annotations







def 		_A(       UpperCamelCase__							:			list[int]				,       UpperCamelCase__							:			list[int]				,       UpperCamelCase__							:			int				)    -> tuple[float, list[float]]:
							'''simple docstring'''


							__lowercase      =    list(range(len(UpperCamelCase__				)				)				)
							__lowercase      =    [v / w for v, w in zip(UpperCamelCase__				,       UpperCamelCase__				)]
							index.sort(key=lambda UpperCamelCase__				: ratio[i]				,       reverse=UpperCamelCase__				)

							__lowercase      =    0
							__lowercase      =    [0] * len(UpperCamelCase__				)
							for i in index:
														if weight[i] <= capacity:
																					__lowercase      =    1
																					max_value += value[i]
																					capacity -= weight[i]
														else:
																					__lowercase      =    capacity / weight[i]
																					max_value += value[i] * capacity / weight[i]
																					break

							return max_value, fractions


if __name__ == "__main__":
			import doctest

			doctest.testmod()






