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.

[EX Q]: [172.492, -61.715, 72.87, 141.009, -97.0, 27.34, 192.494, 5.796]
[EX A]: [ 0.381 -0.136  0.161  0.311 -0.214  0.06   0.425  0.013]

[EX Q]: [226.295, 79.294, -3.174, 147.813, 24.129]
[EX A]: [ 0.477  0.167 -0.007  0.312  0.051]

[EX Q]: [-69.069, 161.253, 180.535, 101.995, 242.929, 173.059, 213.027, 108.717, -86.513, 37.856]
[EX A]:
[-0.065  0.152  0.17   0.096  0.228  0.163  0.2    0.102 -0.081  0.036]