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: [44.066, -73.195, 157.102, 223.256, 82.612, 245.137, 228.036]

A: [ 0.049 -0.081  0.173  0.246  0.091  0.27   0.251]
****
Q: [-97.117, -11.802, 57.096, 244.554, 14.606, 59.864, 209.204, 204.511, 5.218]

A: [-0.142 -0.017  0.083  0.356  0.021  0.087  0.305  0.298  0.008]
****
Q: [228.365, 25.634, 140.243, 24.284, -39.887, 87.482, 241.898, 19.428, -43.029, 7.543]

A:
[ 0.33   0.037  0.203  0.035 -0.058  0.126  0.35   0.028 -0.062  0.011]
****