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: [-87.594, -70.604, -92.72, 96.148, -58.743]

A: [ 0.41   0.331  0.434 -0.45   0.275]
****
Q: [-84.31, 114.499, 20.077, -40.489, 5.042, -62.561, 234.787]

A:
[-0.451  0.612  0.107 -0.216  0.027 -0.334  1.255]
****