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]: [164.913, 23.319, -37.919, -93.113, -51.549, 235.547, -31.47, -23.528, 166.323]
[EX A]: [ 0.468  0.066 -0.108 -0.264 -0.146  0.668 -0.089 -0.067  0.472]

[EX Q]: [48.964, 5.479, 148.086, 207.527]
[EX A]: [0.119 0.013 0.361 0.506]

[EX Q]: [123.389, 216.281, 28.954, 3.127, 122.198, 229.636, 217.427, 190.386]
[EX A]:
[0.109 0.191 0.026 0.003 0.108 0.203 0.192 0.168]