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]: [103.286, -45.97, 115.495, 210.558, -96.143, 165.996, -86.865, -78.029]
[A]: [ 0.358 -0.159  0.401  0.73  -0.333  0.576 -0.301 -0.271]


[Q]: [183.824, -63.661, -38.388, 39.892, 124.911, 188.919, -85.853]
[A]: [ 0.526 -0.182 -0.11   0.114  0.357  0.54  -0.246]


[Q]: [100.221, 185.296]
[A]:
[0.351 0.649]