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]: [-18.717, 162.22]
[EX A]: [-0.13  1.13]

[EX Q]: [7.815, -18.675, -80.473, 178.265, 227.153, -67.161]
[EX A]: [ 0.032 -0.076 -0.326  0.722  0.92  -0.272]

[EX Q]: [-22.864, 7.359, 186.08, -71.151, 129.359, -58.981, -66.435, -47.909]
[EX A]:
[-0.412  0.133  3.355 -1.283  2.333 -1.064 -1.198 -0.864]