In this task, you will be given a list of numbers. The goal is to divide all the numbers in the list by a constant such that the sum of the resulting list is 1. The output should be rounded to 3 decimals.

[Q]: [112.058, 77.578, 242.343, -59.165, 15.974, 225.295]
[A]: [ 0.182  0.126  0.395 -0.096  0.026  0.367]


[Q]: [-7.195, -90.601, -64.015, 69.388, 151.988, -72.281, 164.459]
[A]: [-0.047 -0.597 -0.422  0.457  1.002 -0.476  1.084]


[Q]: [213.983, 175.823, 56.461]
[A]:
[0.479 0.394 0.127]