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: [163.369, 154.385, -90.701, 231.795, -84.648]

A: [ 0.437  0.413 -0.242  0.619 -0.226]
****
Q: [-7.195, -90.601, -64.015, 69.388, 151.988, -72.281, 164.459]

A: [-0.047 -0.597 -0.422  0.457  1.002 -0.476  1.084]
****
Q: [101.847, 195.257, 95.269, 164.045, -18.979]

A:
[ 0.19   0.363  0.177  0.305 -0.035]
****