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]: [7.815, -18.675, -80.473, 178.265, 227.153, -67.161]
[A]: [ 0.032 -0.076 -0.326  0.722  0.92  -0.272]


[Q]: [173.679, 211.845]
[A]: [0.451 0.549]


[Q]: [191.961, -86.765, 228.776, 96.01, -1.604, -98.997, 141.547, -7.497, -62.082, 92.773]
[A]:
[ 0.388 -0.176  0.463  0.194 -0.003 -0.2    0.286 -0.015 -0.126  0.188]