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: [162.868, 109.38, -79.491, 191.325, 43.996, 163.118, 14.367, 219.224, -51.994, -81.541]

A: [ 0.236  0.158 -0.115  0.277  0.064  0.236  0.021  0.317 -0.075 -0.118]
****
Q: [65.205, 155.231, 47.41, -25.39, 52.865, 115.369, 200.093, 143.205, 153.35, 71.07]

A: [ 0.067  0.159  0.048 -0.026  0.054  0.118  0.205  0.146  0.157  0.073]
****
Q: [-62.201, 220.016, 208.579, 156.405, 99.674]

A:
[-0.1    0.353  0.335  0.251  0.16 ]
****