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.224, 166.663, 38.843, 87.432]

A: [0.277 0.411 0.096 0.216]
****
Q: [-89.49, 249.56, 48.075, 221.189, 0.896, 46.342]

A: [-0.188  0.524  0.101  0.464  0.002  0.097]
****
Q: [-41.988, 18.582, 173.585, 195.948, 45.658]

A:
[-0.107  0.047  0.443  0.5    0.117]
****