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: [-71.415, 179.486, 206.839, 104.11, 196.41, 30.853, 179.288, 91.723]

A: [-0.078  0.196  0.225  0.113  0.214  0.034  0.195  0.1  ]
****
Q: [60.824, 197.61, 207.967, 29.206, 172.716, -88.454, 66.079, -6.302, 71.447, 115.316]

A: [ 0.074  0.239  0.252  0.035  0.209 -0.107  0.08  -0.008  0.086  0.14 ]
****
Q: [168.091, 178.498, 43.802, -78.247, -61.416, 115.369, -64.23, -24.557, 195.653]

A:
[ 0.355  0.377  0.093 -0.165 -0.13   0.244 -0.136 -0.052  0.414]
****