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: [212.856, 36.145, 79.686, 82.961, 134.31, 182.318, -65.772, 6.009, 25.492, 11.846]

A: [ 0.302  0.051  0.113  0.118  0.19   0.258 -0.093  0.009  0.036  0.017]
****
Q: [112.742, 102.138]

A: [0.525 0.475]
****
Q: [71.944, 220.12, 237.854, 37.722, 101.24, 248.221, 246.701, 45.164]

A:
[0.06  0.182 0.197 0.031 0.084 0.205 0.204 0.037]
****