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: [244.603, 188.791, 132.292, 109.977, 177.723, 238.551, 165.962, -10.083]

A: [ 0.196  0.151  0.106  0.088  0.142  0.191  0.133 -0.008]
****
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: [191.188, 156.599, -68.749, 150.298, 33.752, -94.602, 200.168, -88.277]

A:
[ 0.398  0.326 -0.143  0.313  0.07  -0.197  0.417 -0.184]
****
