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: [-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: [203.795, 52.478, 152.312, -41.116, 76.704, -56.981, -11.32, 94.977]

A: [ 0.433  0.111  0.323 -0.087  0.163 -0.121 -0.024  0.202]
****
Q: [-4.627, 207.365, 17.961, 35.253, 44.741, -32.505]

A:
[-0.017  0.773  0.067  0.131  0.167 -0.121]
****