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]: [-67.471, 156.86, 151.309]
[A]: [-0.28   0.652  0.629]


[Q]: [-90.478, 206.887]
[A]: [-0.777  1.777]


[Q]: [182.901, 54.902, -58.922, 192.206, 55.951]
[A]:
[ 0.428  0.129 -0.138  0.45   0.131]