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: [214.567, 164.667, 155.245, -60.051, 98.123]

A: [ 0.375  0.288  0.271 -0.105  0.171]
****
Q: [35.122, 190.831, 108.597, 177.979, 89.736, -21.437, 87.852, -79.999]

A: [ 0.06   0.324  0.184  0.302  0.152 -0.036  0.149 -0.136]
****
Q: [137.665, -96.278, -67.487, 107.987, -55.19, 37.55, 162.345, 239.395, 110.481]

A:
[ 0.239 -0.167 -0.117  0.187 -0.096  0.065  0.282  0.415  0.192]
****
