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: [131.01, 65.378, 126.36, 244.72, -59.782, 234.846, 23.115, 29.388, 112.531, 235.779]

A: [ 0.115  0.057  0.111  0.214 -0.052  0.205  0.02   0.026  0.098  0.206]
****
Q: [-38.963, 237.606, -71.065, 198.598, -8.485]

A: [-0.123  0.748 -0.224  0.625 -0.027]
****
Q: [-82.44, -23.797, 165.648, 131.512]

A:
[-0.432 -0.125  0.868  0.689]
****