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: [99.523, 213.163, 66.804, 91.768, 112.4, 63.324, -81.324, 25.787]

A: [ 0.168 0.36 0.113 0.155 0.19 0.107 -0.138 0.044]
****
Q: [84.741, -42.848, 230.972, 213.55, -48.19, 130.42, -4.054]

A: [ 0.15 -0.076 0.409 0.378 -0.085 0.231 -0.007]
****
Q: [-79.117, 194.857, 40.954, 207.874, 13.997, -94.712, -19.344, -10.052]

A:
[-0.311 0.766 0.161 0.817 0.055 -0.372 -0.076 -0.04 ]
****