


"""simple docstring"""







from __future__ import annotations
def 					a__			(				SCREAMING_SNAKE_CASE    :    int				,      SCREAMING_SNAKE_CASE    :    Any				,      SCREAMING_SNAKE_CASE    :    Optional[Any]				):


  '''simple docstring'''







  lowerCAmelCase     :     int								=							list(range(len(__A				)				)				)
  lowerCAmelCase     :     Dict								=							[v / w for v, w in zip(__A				,      __A				)]
  index.sort(key=lambda SCREAMING_SNAKE_CASE				: ratio[i]				,      reverse=__A				)

  lowerCAmelCase     :     Dict								=							0
  lowerCAmelCase     :     Optional[int]								=							[0] * len(__A				)
  for i in index:
    if weight[i] <= capacity:
      lowerCAmelCase     :     Union[str, Any]								=							1
      max_value += value[i]
      capacity -= weight[i]
    else:
      lowerCAmelCase     :     List[str]								=							capacity / weight[i]
      max_value += value[i] * capacity / weight[i]
      break

  return max_value, fractions


if __name__ == "__main__":
     import doctest

     doctest.testmod()







'''simple docstring'''







def 				SCREAMING_SNAKE_CASE__	(   __A	)       ->	str:
	_snake_case   						=		1
	_snake_case   						=		2
	while i * i <= n:
		_snake_case   						=		0
		while n % i == 0:
			n //= i
			multiplicity += 1
		n_divisors *= multiplicity + 1
		i += 1
	if n > 1:
		n_divisors *= 2
	return n_divisors







def 				SCREAMING_SNAKE_CASE__	(   )       ->	List[str]:
	_snake_case   						=		1
	_snake_case   						=		1

	while True:
		i += 1
		t_num += i

		if count_divisors(__A	) > 500:
			break

	return t_num


if __name__ == "__main__":
					print(solution())

