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]: [188.828, 168.327, 106.794, 166.74, 46.687, 25.495, 246.485]
[A]: [0.199 0.177 0.112 0.176 0.049 0.027 0.26 ]


[Q]: [216.424, 156.654, -71.054, 170.474, 47.55, -14.294, -42.849]
[A]: [ 0.468  0.338 -0.153  0.368  0.103 -0.031 -0.093]


[Q]: [226.321, 225.321, 10.818, 61.737, -93.027, 82.112, 248.264]
[A]:
[ 0.297  0.296  0.014  0.081 -0.122  0.108  0.326]