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: [79.05, 173.918, 212.156, 97.371, 128.236, 100.43, -7.858, 170.527]

A: [ 0.083  0.182  0.222  0.102  0.134  0.105 -0.008  0.179]
****
Q: [-42.256, 243.33, 116.799, 231.776, 218.527, 50.57, 48.628, 228.07, -38.11]

A: [-0.04   0.23   0.11   0.219  0.207  0.048  0.046  0.216 -0.036]
****
Q: [-46.735, -65.299]

A:
[0.417 0.583]
****