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]: [3.047, 155.678, 94.781, -73.491, -33.037, -39.522, 72.956]
[A]: [ 0.017  0.863  0.525 -0.407 -0.183 -0.219  0.404]


[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]: [170.196, 91.499, 150.557]
[A]:
[0.413 0.222 0.365]