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: [99.523, 213.163, 66.804, 91.768, 112.4, 63.324, -81.324, 25.787]

A: [ 0.168  0.36   0.113  0.155  0.19   0.107 -0.138  0.044]
****
Q: [-24.189, 94.765, 19.042, 88.423]

A: [-0.136  0.532  0.107  0.497]
****
Q: [139.177, 96.563, -27.322, -2.951, 127.434, -44.584, -1.163, 196.808, 150.027, 47.756]

A:
[ 0.204  0.142 -0.04  -0.004  0.187 -0.065 -0.002  0.289  0.22   0.07 ]
****