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]: [246.183, 41.271, 148.968]
[A]: [0.564 0.095 0.341]


[Q]: [55.416, 81.773, -23.038, 127.629, 91.86, 87.331, -2.252]
[A]: [ 0.132  0.195 -0.055  0.305  0.219  0.209 -0.005]


[Q]: [233.676, 91.81, 239.226, 127.156, -62.512, 8.417, -56.061, 83.146]
[A]:
[ 0.351  0.138  0.36   0.191 -0.094  0.013 -0.084  0.125]