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: [77.096, 186.379, -96.012]

A: [ 0.46   1.113 -0.573]
****
Q: [91.783, 229.93, 209.646, -32.468]

A: [ 0.184  0.461  0.42  -0.065]
****
Q: [217.69, -16.119, 116.868, 150.311, 225.344, 152.023, 114.254]

A:
[ 0.227 -0.017  0.122  0.157  0.235  0.158  0.119]
****