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: [246.183, 41.271, 148.968]

A: [0.564 0.095 0.341]
****
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: [183.256, -30.305, 6.028]

A:
[ 1.153 -0.191  0.038]
****