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]: [161.455, 23.187, 99.444, -13.526]
[A]: [ 0.597  0.086  0.368 -0.05 ]


[Q]: [67.03, 54.116, -43.381, 156.987, 27.159, -83.563, 246.799, 242.974, 182.568]
[A]: [ 0.079  0.064 -0.051  0.185  0.032 -0.098  0.29   0.286  0.215]


[Q]: [177.728, -20.968, 68.938, 216.881, 19.13, 114.147, 199.158, 14.797, -4.489, 170.845]
[A]:
[ 0.186 -0.022  0.072  0.227  0.02   0.119  0.208  0.015 -0.005  0.179]