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.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]: [155.23, 80.108, 126.316, 48.192]
[A]: [0.379 0.195 0.308 0.118]


[Q]: [60.929, 46.768, 97.164, 243.593, -80.762, 14.344, 194.693, -60.772, 19.907]
[A]:
[ 0.114  0.087  0.181  0.455 -0.151  0.027  0.363 -0.113  0.037]