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.142, 32.852, 240.16, 126.324]
[A]: [0.205 0.065 0.478 0.251]


[Q]: [-4.622, 65.41, 210.536, 110.663, -14.498, 84.392, -28.141, 137.941]
[A]: [-0.008  0.116  0.375  0.197 -0.026  0.15  -0.05   0.246]


[Q]: [-24.839, -22.233, -6.37, -74.765, 162.736]
[A]:
[-0.719 -0.644 -0.184 -2.165  4.713]