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: [-53.505, -40.083, -86.788, 79.571, 46.977, 102.323, 81.676, 147.811, 104.936, -3.011]

A: [-0.141 -0.106 -0.228  0.209  0.124  0.269  0.215  0.389  0.276 -0.008]
****
Q: [69.817, -34.361, 230.409]

A: [ 0.263 -0.129  0.867]
****
Q: [-89.119, -66.004, 164.828, -8.634, 204.879, 84.947]

A:
[-0.306 -0.227  0.567 -0.03   0.704  0.292]
****
