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]: [51.967, 80.616, 109.805, 30.339, 162.936, -59.313, -16.193, 61.555, 213.105]
[A]: [ 0.082  0.127  0.173  0.048  0.257 -0.093 -0.026  0.097  0.336]


[Q]: [154.425, -73.361, 115.754, -35.03, 209.745, 85.344, 15.442, -60.364, 228.365]
[A]: [ 0.241 -0.115  0.181 -0.055  0.328  0.133  0.024 -0.094  0.357]


[Q]: [-17.833, 153.707, 95.773, 147.596, 235.018]
[A]:
[-0.029  0.25   0.156  0.24   0.383]