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]: [103.65, 117.315, -23.012, 246.39, -11.109, 125.102, -14.743, 97.056]
[EX A]: [ 0.162  0.183 -0.036  0.385 -0.017  0.195 -0.023  0.151]

[EX Q]: [-43.629, 123.469, -79.775, 197.631]
[EX A]: [-0.221  0.625 -0.404  1.   ]

[EX Q]: [170.997, 168.919, 162.608, -16.388, -81.975, -60.792, -54.261, 236.975, -95.809]
[EX A]:
[ 0.397  0.393  0.378 -0.038 -0.191 -0.141 -0.126  0.551 -0.223]