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: [172.451, 66.811, -25.587, -96.948, 177.665, 213.007, -68.927]

A: [ 0.393  0.152 -0.058 -0.221  0.405  0.486 -0.157]
****
Q: [-67.471, 156.86, 151.309]

A:
[-0.28   0.652  0.629]
****