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]: [222.972, 178.555, -34.936, -41.439, 241.596, -88.158, -90.562, -52.425]
[A]: [ 0.664  0.532 -0.104 -0.123  0.72  -0.263 -0.27  -0.156]


[Q]: [5.16, -90.959, 1.709, 154.549, 95.867, 163.585, 185.904, 57.694, 173.75]
[A]: [ 0.007 -0.122  0.002  0.207  0.128  0.219  0.249  0.077  0.233]


[Q]: [235.817, 171.158, -52.998, 243.109, -2.91]
[A]:
[ 0.397  0.288 -0.089  0.409 -0.005]