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]: [72.096, 90.887, 223.457, 44.778]
[A]: [0.167 0.211 0.518 0.104]


[Q]: [246.416, 141.896, 147.875, 175.016, 52.56, 153.664]
[A]: [0.269 0.155 0.161 0.191 0.057 0.167]


[Q]: [-80.296, 105.771, -95.423]
[A]:
[ 1.148 -1.512  1.364]