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: [59.693, 249.142, 26.443, 118.221, 111.603, -10.046, 169.057, 241.465, -14.514, 216.491]

A: [ 0.051  0.213  0.023  0.101  0.096 -0.009  0.145  0.207 -0.012  0.185]
****
Q: [-61.977, 227.296]

A: [-0.375  1.375]
****
Q: [-75.408, 191.41, 159.041, 207.785, 30.262, 124.683, 134.139, -67.676]

A:
[-0.107  0.272  0.226  0.295  0.043  0.177  0.19  -0.096]
****