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: [103.286, -45.97, 115.495, 210.558, -96.143, 165.996, -86.865, -78.029]

A: [ 0.358 -0.159  0.401  0.73  -0.333  0.576 -0.301 -0.271]
****
Q: [-92.257, 158.267, 220.992, 69.458, 148.556, 166.415, -58.966, 248.666, -15.456]

A: [-0.109  0.187  0.261  0.082  0.176  0.197 -0.07   0.294 -0.018]
****
Q: [247.729, 13.771]

A:
[0.947 0.053]
****
