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]: [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]: [237.824, 233.285, 223.369, 143.876, 118.428, 45.485, 220.048, 177.821, 160.009, 109.675]
[A]: [0.142 0.14  0.134 0.086 0.071 0.027 0.132 0.106 0.096 0.066]


[Q]: [-92.952, 149.074]
[A]:
[-1.656  2.656]