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: [188.828, 168.327, 106.794, 166.74, 46.687, 25.495, 246.485]

A: [0.199 0.177 0.112 0.176 0.049 0.027 0.26 ]
****
Q: [85.379, 51.027, 245.442, -3.654, -40.663, 166.273]

A: [ 0.169  0.101  0.487 -0.007 -0.081  0.33 ]
****
Q: [24.309, 246.891, -55.973, 199.288, 1.572, -33.327, 72.851, 156.723, 109.638]

A:
[ 0.034  0.342 -0.078  0.276  0.002 -0.046  0.101  0.217  0.152]
****
