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]: [27.425, 165.583, 82.748, 74.086, 181.22, 39.498]
[A]: [0.048 0.29  0.145 0.13  0.318 0.069]


[Q]: [84.741, -42.848, 230.972, 213.55, -48.19, 130.42, -4.054]
[A]: [ 0.15  -0.076  0.409  0.378 -0.085  0.231 -0.007]


[Q]: [147.318, 106.551, 180.855, 247.168, 130.73, 115.698, 234.153, 188.069, 214.146, -54.618]
[A]:
[ 0.098  0.071  0.12   0.164  0.087  0.077  0.155  0.125  0.142 -0.036]