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]: [133.781, 157.723, 158.61, -61.075, 12.936]
[A]: [ 0.333  0.392  0.395 -0.152  0.032]


[Q]: [216.322, 137.711, 96.528, 68.43, 5.194, 94.049]
[A]: [0.35  0.223 0.156 0.111 0.008 0.152]


[Q]: [-23.718, 183.273, 133.805, 230.681, -74.063, -34.109]
[A]:
[-0.057  0.441  0.322  0.555 -0.178 -0.082]