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]: [145.233, 180.581, -96.725, 215.629, 27.976, 51.401, 117.126, 121.852, 220.57]
[A]: [ 0.148  0.184 -0.098  0.219  0.028  0.052  0.119  0.124  0.224]


[Q]: [104.665, -60.395, 189.505, 184.789, -43.477]
[A]: [ 0.279 -0.161  0.505  0.493 -0.116]


[Q]: [1.7, 87.235, 20.604, 175.987, -73.949, 248.278, 46.329, 88.33]
[A]:
[ 0.003  0.147  0.035  0.296 -0.124  0.418  0.078  0.149]