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: [89.727, 144.375, 206.242, 212.658, -21.804, 0.394, 139.851]

A: [ 0.116  0.187  0.267  0.276 -0.028  0.001  0.181]
****
Q: [-0.147, 182.138, 56.072, 249.521, -37.989, 136.119, 192.618, 151.969]

A: [-1.580e-04  1.958e-01  6.027e-02  2.682e-01 -4.084e-02  1.463e-01
  2.070e-01  1.634e-01]
****
Q: [99.876, -17.898, -92.903, 17.522, 222.549, 238.389, 99.607, 20.352, -16.908]

A:
[ 0.175 -0.031 -0.163  0.031  0.39   0.418  0.175  0.036 -0.03 ]
****