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]: [130.633, 0.276, 211.746, 81.81, -5.286, 130.004, 148.146]
[A]: [ 0.187  0.     0.304  0.117 -0.008  0.186  0.212]


[Q]: [47.49, -79.552, 16.735, 113.506, 214.257, 80.403, 184.582]
[A]: [ 0.082 -0.138  0.029  0.197  0.371  0.139  0.32 ]


[Q]: [62.354, 6.902, -63.632, 64.703, 176.4, 237.604]
[A]:
[ 0.129  0.014 -0.131  0.134  0.364  0.491]