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: [-84.386, 163.217, 23.493, 1.719, 243.887, 172.585, 88.037, 151.948]

A: [-0.111  0.215  0.031  0.002  0.321  0.227  0.116  0.2  ]
****
Q: [209.662, -62.115, 211.718, 29.872, -8.33, 158.467, 248.409, 126.24, 118.414]

A: [ 0.203 -0.06   0.205  0.029 -0.008  0.154  0.241  0.122  0.115]
****
Q: [77.127, 238.436, 13.102, 215.106, 234.312, 44.001]

A:
[0.094 0.29  0.016 0.262 0.285 0.054]
****