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: [113.291, 207.259, -25.189, 237.902, 246.469, 195.691, -10.298, 203.132]

A: [ 0.097  0.177 -0.022  0.204  0.211  0.168 -0.009  0.174]
****
Q: [122.621, 54.698, 245.719, 147.453, 49.487, -4.205, 248.575]

A: [ 0.142  0.063  0.284  0.171  0.057 -0.005  0.288]
****
Q: [219.031, 86.167, 180.248, 15.471, -14.907]

A:
[ 0.451  0.177  0.371  0.032 -0.031]
****