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]: [103.175, 172.942, 74.406]
[A]: [0.294 0.493 0.212]


[Q]: [94.074, 116.233, -38.023, -8.757, -77.941, 13.162, 78.677]
[A]: [ 0.53   0.655 -0.214 -0.049 -0.439  0.074  0.443]


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