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]: [5.16, -90.959, 1.709, 154.549, 95.867, 163.585, 185.904, 57.694, 173.75]
[A]: [ 0.007 -0.122  0.002  0.207  0.128  0.219  0.249  0.077  0.233]


[Q]: [-30.426, -97.485, -23.367, -79.292, 85.324]
[A]: [ 0.209  0.671  0.161  0.546 -0.587]


[Q]: [-64.886, 63.129, 22.086, -65.328]
[A]:
[ 1.442 -1.403 -0.491  1.452]