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]: [103.142, 32.852, 240.16, 126.324]
[A]: [0.205 0.065 0.478 0.251]

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

[Q]: [-58.282, -89.901, 222.736, -25.813, -97.379]
[A]:
[ 1.198 1.848 -4.579 0.531 2.002]