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: [-80.77, -68.56, 180.511, 184.798, -62.277, 12.478, 213.681, 50.928, 147.82]

A: [-0.14  -0.118  0.312  0.319 -0.108  0.022  0.369  0.088  0.255]
****
Q: [26.353, 248.25, -61.679, 242.486]

A: [ 0.058  0.545 -0.135  0.532]
****
Q: [79.022, -43.875, 6.514]

A:
[ 1.897 -1.053  0.156]
****