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: [71.224, 248.241, 139.206]

A: [0.155 0.541 0.303]
****
Q: [-97.301, 130.939, 7.862, 241.283, -8.481, -45.554, 69.159, 123.499]

A: [-0.231  0.311  0.019  0.573 -0.02  -0.108  0.164  0.293]
****
Q: [-91.786, -19.042, 101.735, 191.429, 246.969, 171.507, -21.813, 208.211, 79.674]

A:
[-0.106 -0.022  0.117  0.221  0.285  0.198 -0.025  0.24   0.092]
****