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]: [121.476, 242.811, 19.555, 237.992]
[A]: [0.195 0.39  0.031 0.383]


[Q]: [126.888, 168.76, 70.177, -33.353, 169.892, 64.311]
[A]: [ 0.224  0.298  0.124 -0.059  0.3    0.113]


[Q]: [-93.324, 184.48, 149.294, 57.32, -47.452, 116.951, -15.488, 176.79, 35.552, -68.939]
[A]:
[-0.188  0.373  0.301  0.116 -0.096  0.236 -0.031  0.357  0.072 -0.139]