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]: [249.541, 233.825, 9.968]
[EX A]: [0.506 0.474 0.02 ]

[EX Q]: [31.541, -32.498, 202.96]
[EX A]: [ 0.156 -0.161  1.005]

[EX Q]: [162.797, -77.228, 152.707, 229.569, 49.492, 34.083, -93.656]
[EX A]:
[ 0.356 -0.169  0.334  0.502  0.108  0.074 -0.205]