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]: [130.633, 0.276, 211.746, 81.81, -5.286, 130.004, 148.146]
[A]: [ 0.187 0. 0.304 0.117 -0.008 0.186 0.212]

[Q]: [101.286, 117.279, 249.605, -54.23, 190.036]
[A]: [ 0.168 0.194 0.413 -0.09 0.315]

[Q]: [249.876, -48.633, -77.261]
[A]:
[ 2.015 -0.392 -0.623]