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]: [221.709, 167.259, 153.809, 223.655, 212.516, 108.266]
[A]: [0.204 0.154 0.141 0.206 0.195 0.1  ]


[Q]: [41.651, 32.877, 0.294, -10.28]
[A]: [ 0.645  0.509  0.005 -0.159]


[Q]: [-12.739, -64.344, 222.636]
[A]:
[-0.088 -0.442  1.53 ]