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.345, 200.311, 242.92, -3.998, -12.158, 63.237]

A: [ 0.334  0.272  0.33  -0.005 -0.017  0.086]
****
Q: [-99.405, 166.036, 167.552, -23.626, 247.539, 11.298]

A: [-0.212  0.354  0.357 -0.05   0.527  0.024]
****
Q: [2.93, 49.017, -78.277, 50.498]

A:
[ 0.121  2.028 -3.239  2.089]
****