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]: [198.838, 118.549, -83.183, 93.825, 209.533]
[A]: [ 0.37   0.221 -0.155  0.175  0.39 ]


[Q]: [245.776, 147.756, 46.081, 137.159, 69.132, -81.718, 135.053, 200.574]
[A]: [ 0.273  0.164  0.051  0.152  0.077 -0.091  0.15   0.223]


[Q]: [199.346, -48.761, -93.82, 152.581, -49.374, -52.256, 88.847, -49.026, 29.366]
[A]:
[ 1.127 -0.276 -0.53   0.863 -0.279 -0.295  0.502 -0.277  0.166]