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]: [112.058, 77.578, 242.343, -59.165, 15.974, 225.295]
[A]: [ 0.182  0.126  0.395 -0.096  0.026  0.367]


[Q]: [-43.08, 109.525, -61.654, 5.718, 152.702, -86.576, 13.451, -70.716]
[A]: [-2.224  5.654 -3.183  0.295  7.883 -4.47   0.694 -3.651]


[Q]: [2.835, -80.936, 163.092, -5.275, 157.113, 218.834, 43.463, -19.375, 102.261, 213.394]
[A]:
[ 0.004 -0.102  0.205 -0.007  0.198  0.275  0.055 -0.024  0.129  0.268]