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]: [148.702, 143.872, 226.132]
[A]: [0.287 0.277 0.436]


[Q]: [20.362, 231.193, 59.533, 101.496, 136.809]
[A]: [0.037 0.421 0.108 0.185 0.249]


[Q]: [-44.831, 133.603, -69.454, -36.418, -17.29, 169.512, 219.495]
[A]:
[-0.126  0.377 -0.196 -0.103 -0.049  0.478  0.619]


