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]: [103.286, -45.97, 115.495, 210.558, -96.143, 165.996, -86.865, -78.029]
[A]: [ 0.358 -0.159  0.401  0.73  -0.333  0.576 -0.301 -0.271]


[Q]: [196.669, -36.083, 152.375, -91.018, -29.088, 134.933, 66.316, 231.48, 92.271, 52.699]
[A]: [ 0.255 -0.047  0.198 -0.118 -0.038  0.175  0.086  0.3    0.12   0.068]


[Q]: [8.839, 109.023]
[A]:
[0.075 0.925]