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]: [-26.447, -6.071, -41.554, 61.374, 220.296, -69.718, 83.987, -30.119, -71.182]
[A]: [-0.219 -0.05  -0.345  0.509  1.827 -0.578  0.697 -0.25  -0.59 ]


[Q]: [196.009, -51.198, 225.434, 163.821, 32.153, -92.074]
[A]: [ 0.413 -0.108  0.475  0.346  0.068 -0.194]


[Q]: [205.463, -86.415, -98.957, -34.235, 14.068, 241.948, 1.062, 156.846, -10.36]
[A]:
[ 0.528 -0.222 -0.254 -0.088  0.036  0.621  0.003  0.403 -0.027]