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: [112.058, 77.578, 242.343, -59.165, 15.974, 225.295]

A: [ 0.182  0.126  0.395 -0.096  0.026  0.367]
****
Q: [10.938, 220.639, 214.911, -31.69, -21.077, 183.226, -41.396, -47.465]

A: [ 0.022  0.452  0.44  -0.065 -0.043  0.375 -0.085 -0.097]
****
Q: [207.692, -38.687, 223.065, 48.869, -16.652, 81.059, 229.575, 62.923]

A:
[ 0.26  -0.048  0.28   0.061 -0.021  0.102  0.288  0.079]
****