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: [188.828, 168.327, 106.794, 166.74, 46.687, 25.495, 246.485]

A: [0.199 0.177 0.112 0.176 0.049 0.027 0.26 ]
****
Q: [-73.287, -90.252, -94.544, -0.289, 117.135, 184.928, 176.636, 25.06]

A: [-0.299 -0.368 -0.385 -0.001  0.477  0.754  0.72   0.102]
****
Q: [-11.611, -50.857, 131.333, 223.055, 244.175, 181.915, 219.047, 35.243, 111.013]

A:
[-0.011 -0.047  0.121  0.206  0.225  0.168  0.202  0.033  0.102]
****