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]: [245.345, 200.311, 242.92, -3.998, -12.158, 63.237]
[A]: [ 0.334  0.272  0.33  -0.005 -0.017  0.086]


[Q]: [55.207, 201.948, 59.125, -61.663, 87.121, 75.646, 246.794, 112.931, -61.024]
[A]: [ 0.077  0.282  0.083 -0.086  0.122  0.106  0.345  0.158 -0.085]


[Q]: [62.946, 115.858, 173.725, 186.176, 153.974, -82.599]
[A]:
[ 0.103  0.19   0.285  0.305  0.252 -0.135]