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]: [-56.159, 4.643, 98.633, -90.527]
[A]: [ 1.294 -0.107 -2.272  2.085]


[Q]: [-93.265, -86.178, -15.239, 201.888, 219.463]
[A]: [-0.411 -0.38  -0.067  0.891  0.968]


[Q]: [215.94, 103.823, -82.236, 163.791, 221.906, 119.349, 98.471]
[A]:
[ 0.257  0.123 -0.098  0.195  0.264  0.142  0.117]