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]: [234.077, 107.688, 115.509, 39.166, 211.514, 117.358]
[A]: [0.284 0.13  0.14  0.047 0.256 0.142]


[Q]: [83.499, 57.586, 101.269, 40.68, 75.533, 100.856, 37.518]
[A]: [0.168 0.116 0.204 0.082 0.152 0.203 0.075]


[Q]: [13.822, 21.729, -81.932, 96.483, 57.643, 159.942, 156.783]
[A]:
[ 0.033  0.051 -0.193  0.227  0.136  0.377  0.369]