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.

[Q]: [-71.415, 179.486, 206.839, 104.11, 196.41, 30.853, 179.288, 91.723]
[A]: [-0.078  0.196  0.225  0.113  0.214  0.034  0.195  0.1  ]


[Q]: [118.504, -50.303, 61.191, 48.734, 201.061, 168.434, -59.577, 157.843, -61.589, 8.952]
[A]: [ 0.2   -0.085  0.103  0.082  0.339  0.284 -0.1    0.266 -0.104  0.015]


[Q]: [-49.201, 190.893]
[A]:
[-0.347  1.347]