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: [245.776, 147.756, 46.081, 137.159, 69.132, -81.718, 135.053, 200.574]

A: [ 0.273  0.164  0.051  0.152  0.077 -0.091  0.15   0.223]
****
Q: [229.904, 41.361, -38.768, 166.156, 187.51, 91.581, -43.883, 102.522, 198.448, 206.706]

A: [ 0.201  0.036 -0.034  0.146  0.164  0.08  -0.038  0.09   0.174  0.181]
****
Q: [64.384, 200.493, 118.542, 125.353, 185.036, -83.612, 232.559, -89.821, 194.295, 247.288]

A:
[ 0.054  0.168  0.099  0.105  0.155 -0.07   0.195 -0.075  0.163  0.207]
****