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]: [96.684, 11.401, 151.126, -65.202, 110.672]
[A]: [ 0.317  0.037  0.496 -0.214  0.363]


[Q]: [98.484, 190.025, -78.608]
[A]: [ 0.469  0.905 -0.375]


[Q]: [36.585, 176.071, -33.581, 43.266, -61.368, -35.23, -37.564]
[A]:
[ 0.415  1.997 -0.381  0.491 -0.696 -0.4   -0.426]