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]: [208.455, 36.274, -57.269, 146.623, 53.426, 236.427, 219.745]
[A]: [ 0.247  0.043 -0.068  0.174  0.063  0.28   0.26 ]


[Q]: [148.764, 144.152, -67.79, 196.955, 133.537, 132.805]
[A]: [ 0.216  0.209 -0.098  0.286  0.194  0.193]


[Q]: [147.918, 132.819, 204.635]
[A]:
[0.305 0.274 0.422]


