

"""simple docstring"""




from __future__ import annotations
def 						_snake_case(   SCREAMING_SNAKE_CASE__      :     list[int]   ,      SCREAMING_SNAKE_CASE__      :     list[int]   ,      SCREAMING_SNAKE_CASE__      :     int				)							->				tuple[float, list[float]]:





    '''simple docstring'''






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

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

    return max_value, fractions


if __name__ == "__main__":
     import doctest

     doctest.testmod()




def 						_snake_case(   SCREAMING_SNAKE_CASE__      :     int = 1000				)							->				int:





    '''simple docstring'''






    A__   				=       3
    A__   				=       0
    while a < n:
        if a % 3 == 0 or a % 5 == 0:
            result += a
        elif a % 15 == 0:
            result -= a
        a += 1
    return result


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

