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: [222.972, 178.555, -34.936, -41.439, 241.596, -88.158, -90.562, -52.425]

A: [ 0.664  0.532 -0.104 -0.123  0.72  -0.263 -0.27  -0.156]
****
Q: [102.087, 196.442, 65.693, 233.766]

A: [0.171 0.329 0.11  0.391]
****
Q: [162.243, 73.887, -33.604, 107.174, -16.76, -59.0, 115.353, 220.755]

A:
[ 0.285  0.13  -0.059  0.188 -0.029 -0.104  0.202  0.387]
****