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]: [177.728, -20.968, 68.938, 216.881, 19.13, 114.147, 199.158, 14.797, -4.489, 170.845]
[A]: [ 0.186 -0.022  0.072  0.227  0.02   0.119  0.208  0.015 -0.005  0.179]


[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]: [209.187, 226.184, 207.794, 8.876, 177.056, -0.458, 30.343, 158.737, -41.546, 122.467]
[A]:
[ 0.19   0.206  0.189  0.008  0.161 -0.     0.028  0.144 -0.038  0.111]