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]: [100.985, 21.265]
[A]: [0.826 0.174]


[Q]: [131.022, 223.416, -39.398, 89.931]
[A]: [ 0.324  0.552 -0.097  0.222]


[Q]: [147.215, 238.508, -92.45, -53.364, 218.888]
[A]:
[ 0.321  0.52  -0.202 -0.116  0.477]


