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]: [-83.508, -45.974, 241.098, 15.559, 178.455, 21.679, 107.872, 240.156, 244.933]
[A]: [-0.091 -0.05   0.262  0.017  0.194  0.024  0.117  0.261  0.266]


[Q]: [-90.919, 122.785, 19.698, -85.394, -93.418, 154.188, -2.929, -63.746, 221.142]
[A]: [-0.501  0.677  0.109 -0.471 -0.515  0.85  -0.016 -0.351  1.219]


[Q]: [128.564, 11.644, 220.468, 115.793, 74.76, 170.652, 118.031, 149.723, -23.465]
[A]:
[ 0.133  0.012  0.228  0.12   0.077  0.177  0.122  0.155 -0.024]