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]: [244.91, 126.041]
[A]: [0.66 0.34]


[Q]: [44.066, -73.195, 157.102, 223.256, 82.612, 245.137, 228.036]
[A]: [ 0.049 -0.081  0.173  0.246  0.091  0.27   0.251]


[Q]: [224.76, 85.736, -6.728, 53.056, 123.165, 48.331]
[A]:
[ 0.425  0.162 -0.013  0.1    0.233  0.091]