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]: [17.011, 227.693, 182.857]
[A]: [0.04  0.533 0.428]


[Q]: [-76.81, 155.294, -53.117, 198.868, 67.625]
[A]: [-0.263  0.532 -0.182  0.681  0.232]


[Q]: [20.642, -21.555, 211.196, 78.844, -63.976, 170.539, 214.101, 144.55, -76.524]
[A]:
[ 0.03  -0.032  0.312  0.116 -0.094  0.252  0.316  0.213 -0.113]