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]: [163.369, 154.385, -90.701, 231.795, -84.648]
[A]: [ 0.437  0.413 -0.242  0.619 -0.226]


[Q]: [106.3, -50.849, 9.02, -35.539, -72.426]
[A]: [-2.444  1.169 -0.207  0.817  1.665]


[Q]: [130.762, 46.644, 94.953, 100.801, 238.855, 56.828, 246.58]
[A]:
[0.143 0.051 0.104 0.11  0.261 0.062 0.269]