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: [-19.19, 16.875, 89.701, 183.842, 177.318, 143.688, 248.552, 198.75]

A: [-0.018  0.016  0.086  0.177  0.171  0.138  0.239  0.191]
****
Q: [249.541, 233.825, 9.968]

A: [0.506 0.474 0.02 ]
****
Q: [106.3, -50.849, 9.02, -35.539, -72.426]

A:
[-2.444  1.169 -0.207  0.817  1.665]
****