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]: [244.603, 188.791, 132.292, 109.977, 177.723, 238.551, 165.962, -10.083]
[A]: [ 0.196  0.151  0.106  0.088  0.142  0.191  0.133 -0.008]


[Q]: [141.801, -34.863, 156.984, 129.543, 63.836, 126.413, 105.502]
[A]: [ 0.206 -0.051  0.228  0.188  0.093  0.183  0.153]


[Q]: [123.154, -11.766, 97.251, 70.482, 132.742, -72.522, 145.284]
[A]:
[ 0.254 -0.024  0.201  0.145  0.274 -0.15   0.3  ]