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: [24.403, -86.561, -38.209, 193.393]

A: [ 0.262 -0.931 -0.411  2.079]
****
Q: [94.074, 116.233, -38.023, -8.757, -77.941, 13.162, 78.677]

A: [ 0.53   0.655 -0.214 -0.049 -0.439  0.074  0.443]
****
Q: [-50.536, 113.865, 132.945, 231.041, 146.965, 226.148, 120.829]

A:
[-0.055  0.124  0.144  0.251  0.16   0.245  0.131]
****