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]: [11.893, 122.938, -45.515, -59.484, 12.016, 148.604, -47.662, -94.215, 161.234, 195.023]
[A]: [ 0.029  0.304 -0.112 -0.147  0.03   0.367 -0.118 -0.233  0.398  0.482]


[Q]: [102.172, 110.658, -51.022, 53.999, 83.403]
[A]: [ 0.341  0.37  -0.171  0.18   0.279]


[Q]: [20.091, 157.165]
[A]:
[0.113 0.887]