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: [104.535, -18.168, 76.388, -33.473, 182.214, 179.034, 113.071, 221.794, -14.064]

A: [ 0.129 -0.022  0.094 -0.041  0.225  0.221  0.139  0.273 -0.017]
****
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: [211.386, 178.985, -40.261, 183.554, -20.328, -1.071, -81.546, 145.35, 64.393, -62.599]

A:
[ 0.366  0.31  -0.07   0.318 -0.035 -0.002 -0.141  0.252  0.111 -0.108]
****