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: [224.598, -17.025, 112.546, -16.324, -23.133, -23.311, 202.051, -40.903, -30.892]

A: [ 0.579 -0.044  0.29  -0.042 -0.06  -0.06   0.521 -0.106 -0.08 ]
****
Q: [-90.919, 122.785, 19.698, -85.394, -93.418, 154.188, -2.929, -63.746, 221.142]

A: [-0.501  0.677  0.109 -0.471 -0.515  0.85  -0.016 -0.351  1.219]
****
Q: [-78.485, 16.96, 224.113]

A:
[-0.483  0.104  1.378]
****