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]: [106.3, -50.849, 9.02, -35.539, -72.426]
[A]: [-2.444  1.169 -0.207  0.817  1.665]


[Q]: [-12.506, -29.207, 248.551]
[A]:
[-0.06  -0.141  1.202]


