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: [119.841, 171.151, 38.877]

A: [0.363 0.519 0.118]
****
Q: [2.303, 132.257, 184.015, 78.61, 124.58, 224.719, 114.614, 209.731, 242.313]

A: [0.002 0.101 0.14  0.06  0.095 0.171 0.087 0.16  0.185]
****
Q: [42.229, 243.797, 12.146, 94.513, -15.549, -15.492, 37.692, 4.448, 144.002]

A:
[ 0.077  0.445  0.022  0.173 -0.028 -0.028  0.069  0.008  0.263]
****
