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: [216.424, 156.654, -71.054, 170.474, 47.55, -14.294, -42.849]

A: [ 0.468  0.338 -0.153  0.368  0.103 -0.031 -0.093]
****
Q: [191.832, 15.735, -39.453, -79.987, -12.778, 234.045, -79.665, -34.741, 27.161]

A: [ 0.864  0.071 -0.178 -0.36  -0.058  1.054 -0.359 -0.156  0.122]
****
Q: [125.699, 224.869, -23.641, 74.856, 17.672, 145.975, -89.743, 195.843, 245.011]

A:
[ 0.137  0.245 -0.026  0.082  0.019  0.159 -0.098  0.214  0.267]
****