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]: [232.627, 25.95, -3.053, 103.494, -0.168]
[A]: [ 6.483e-01  7.231e-02 -8.508e-03  2.884e-01 -4.682e-04]


[Q]: [-74.839, 176.455, -15.623, 80.098, 139.443]
[A]: [-0.245  0.578 -0.051  0.262  0.456]


[Q]: [-35.503, -25.626, 1.742, -5.262, 175.23, 128.618, -7.3, -55.867]
[A]:
[-0.202 -0.146  0.01  -0.03   0.995  0.731 -0.041 -0.317]