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]: [214.567, 164.667, 155.245, -60.051, 98.123]
[A]: [ 0.375  0.288  0.271 -0.105  0.171]


[Q]: [143.826, -53.053, -15.912, 41.377, -85.872, 154.355, -3.074, 159.574, 64.077, -86.286]
[A]: [ 0.451 -0.166 -0.05   0.13  -0.269  0.484 -0.01   0.5    0.201 -0.27 ]


[Q]: [135.005, 77.196, -71.453, 178.078]
[A]:
[ 0.423  0.242 -0.224  0.559]


