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: [-81.794, -64.395, -79.319, 158.778, 83.741]

A: [-4.808 -3.785 -4.663  9.334  4.923]
****
Q: [237.824, 233.285, 223.369, 143.876, 118.428, 45.485, 220.048, 177.821, 160.009, 109.675]

A: [0.142 0.14  0.134 0.086 0.071 0.027 0.132 0.106 0.096 0.066]
****
Q: [68.345, 29.857, 19.924, -42.918]

A:
[ 0.909  0.397  0.265 -0.571]
****