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]: [-80.296, 105.771, -95.423]
[A]: [ 1.148 -1.512  1.364]


[Q]: [7.908, 48.762, 119.923, 5.289, 118.145, -62.401]
[A]: [ 0.033  0.205  0.505  0.022  0.497 -0.263]


[Q]: [30.098, 0.484, 79.679, 189.59, -91.04, -57.099, 18.485, -29.202]
[A]:
[ 0.213  0.003  0.565  1.345 -0.646 -0.405  0.131 -0.207]