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]: [-23.786, -9.362, 227.991, 136.217, 225.485, -8.362, 88.428, -62.551, 98.166]
[A]: [-0.035 -0.014  0.339  0.203  0.335 -0.012  0.132 -0.093  0.146]


[Q]: [45.532, 131.328, 173.809, -99.361, 45.882, 226.094, 12.686]
[A]: [ 0.085  0.245  0.324 -0.185  0.086  0.422  0.024]


[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]