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: [228.711, 65.409, 196.92, -77.355, 201.953, 116.793, -69.059, 234.881]

A: [ 0.255  0.073  0.219 -0.086  0.225  0.13  -0.077  0.261]
****
Q: [56.491, -29.468, -4.249, 125.895]

A: [ 0.38  -0.198 -0.029  0.847]
****
Q: [199.501, 2.005, 150.437, 34.656, -46.429]

A:
[ 0.586  0.006  0.442  0.102 -0.136]
****
