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: [224.598, -17.025, 112.546, -16.324, -23.133, -23.311, 202.051, -40.903, -30.892]

A: [ 0.579 -0.044  0.29  -0.042 -0.06  -0.06   0.521 -0.106 -0.08 ]
****
Q: [141.233, -9.427, -7.024, 226.925, 55.684, 1.605, 81.487, 148.275, -10.187]

A:
[ 0.225 -0.015 -0.011  0.361  0.089  0.003  0.13   0.236 -0.016]
****