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]: [138.421, 125.821, 245.105, 164.342, 28.3, 37.102]
[A]: [0.187 0.17  0.332 0.222 0.038 0.05 ]


[Q]: [94.856, 99.337, -98.362, 62.017, 89.355, 180.099, 11.26]
[A]: [ 0.216  0.227 -0.224  0.141  0.204  0.411  0.026]


[Q]: [-3.542, 93.04, 1.997, 94.225, -31.353, -87.232, 12.242]
[A]:
[-0.045  1.172  0.025  1.187 -0.395 -1.099  0.154]