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]: [240.691, -46.027]
[A]: [ 1.236 -0.236]


[Q]: [49.396, 154.523, 164.785, 67.229]
[A]:
[0.113 0.354 0.378 0.154]