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]: [-42.256, 243.33, 116.799, 231.776, 218.527, 50.57, 48.628, 228.07, -38.11]
[A]: [-0.04   0.23   0.11   0.219  0.207  0.048  0.046  0.216 -0.036]


[Q]: [11.893, 122.938, -45.515, -59.484, 12.016, 148.604, -47.662, -94.215, 161.234, 195.023]
[A]: [ 0.029  0.304 -0.112 -0.147  0.03   0.367 -0.118 -0.233  0.398  0.482]


[Q]: [-23.236, 10.926, 193.303, -79.718, 122.317, 83.834]
[A]:
[-0.076  0.036  0.629 -0.259  0.398  0.273]