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]: [-74.399, 242.628, 226.417, -13.057]
[A]: [-0.195  0.636  0.593 -0.034]


[Q]: [2.303, 132.257, 184.015, 78.61, 124.58, 224.719, 114.614, 209.731, 242.313]
[A]: [0.002 0.101 0.14  0.06  0.095 0.171 0.087 0.16  0.185]


[Q]: [219.02, 11.361, -91.587, 107.101, 191.342, 8.275, 235.509, 121.944, 151.572, 51.151]
[A]:
[ 0.218  0.011 -0.091  0.106  0.19   0.008  0.234  0.121  0.151  0.051]