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]: [209.662, -62.115, 211.718, 29.872, -8.33, 158.467, 248.409, 126.24, 118.414]
[A]: [ 0.203 -0.06   0.205  0.029 -0.008  0.154  0.241  0.122  0.115]


[Q]: [-0.79, 200.24, 111.41, 238.485, 8.697, -46.68, 89.607]
[A]: [-0.001  0.333  0.185  0.397  0.014 -0.078  0.149]


[Q]: [-64.983, 54.484, 172.709, 84.209, 108.393, 222.673, 147.723, -20.798, 236.804, -11.392]
[A]:
[-0.07   0.059  0.186  0.091  0.117  0.239  0.159 -0.022  0.255 -0.012]