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]: [69.334, 72.333]
[A]: [0.489 0.511]


[Q]: [237.315, -96.742, 179.222, 23.324, 86.395, 201.237]
[A]: [ 0.376 -0.153  0.284  0.037  0.137  0.319]


[Q]: [29.349, -95.177, 209.783, 169.161, 39.667, 55.993, 176.017, 0.173, 46.947]
[A]:
[ 4.644e-02 -1.506e-01  3.320e-01  2.677e-01  6.277e-02  8.861e-02
  2.785e-01  2.738e-04  7.429e-02]