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: [-36.797, 93.739, 170.894, 193.582, 128.83, 85.681, 104.071, -40.571, -84.657]

A: [-0.06   0.152  0.278  0.315  0.21   0.139  0.169 -0.066 -0.138]
****
Q: [67.03, 54.116, -43.381, 156.987, 27.159, -83.563, 246.799, 242.974, 182.568]

A: [ 0.079  0.064 -0.051  0.185  0.032 -0.098  0.29   0.286  0.215]
****
Q: [149.543, -31.213, -65.887, 93.067, 215.845, 241.671, 162.413, 202.498, 47.638]

A:
[ 0.147 -0.031 -0.065  0.092  0.213  0.238  0.16   0.199  0.047]
****