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]: [-71.706, -51.315]
[EX A]: [0.583 0.417]

[EX Q]: [116.837, -39.548, 33.391, 175.644, 113.699, 197.292, 61.823, 218.792]
[EX A]: [ 0.133 -0.045  0.038  0.2    0.13   0.225  0.07   0.249]

[EX Q]: [-94.905, 63.626, 160.435, 35.267, 77.714, -29.469, 217.827, -41.326]
[EX A]:
[-0.244  0.163  0.412  0.091  0.2   -0.076  0.56  -0.106]