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: [237.824, 233.285, 223.369, 143.876, 118.428, 45.485, 220.048, 177.821, 160.009, 109.675]

A: [0.142 0.14  0.134 0.086 0.071 0.027 0.132 0.106 0.096 0.066]
****
Q: [-89.49, 249.56, 48.075, 221.189, 0.896, 46.342]

A: [-0.188  0.524  0.101  0.464  0.002  0.097]
****
Q: [150.084, 3.768, 96.127, 223.268, -86.157, 14.644, 141.158, 201.722]

A:
[ 0.202  0.005  0.129  0.3   -0.116  0.02   0.19   0.271]
****