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]: [200.637, -31.315, 78.428]
[A]: [ 0.81  -0.126  0.317]


[Q]: [69.647, 140.02, 236.936]
[A]: [0.156 0.314 0.531]


[Q]: [51.321, 83.181, -36.051, 245.019, 20.839, 74.344, 213.23]
[A]:
[ 0.079  0.128 -0.055  0.376  0.032  0.114  0.327]