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: [11.893, 122.938, -45.515, -59.484, 12.016, 148.604, -47.662, -94.215, 161.234, 195.023]

A: [ 0.029  0.304 -0.112 -0.147  0.03   0.367 -0.118 -0.233  0.398  0.482]
****
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: [-93.984, -4.515, 31.444, 88.538]

A:
[-4.375 -0.21   1.464  4.121]
****