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]: [-84.386, 163.217, 23.493, 1.719, 243.887, 172.585, 88.037, 151.948]
[A]: [-0.111  0.215  0.031  0.002  0.321  0.227  0.116  0.2  ]


[Q]: [110.195, 52.195, 188.562, 5.889, 220.365, 147.995, 194.14, -89.542]
[A]: [ 0.133  0.063  0.227  0.007  0.266  0.178  0.234 -0.108]


[Q]: [58.814, 53.845, 50.29, 222.832, 211.063, -14.873, -98.046, 239.084, 24.101, 109.843]
[A]:
[ 0.069  0.063  0.059  0.26   0.246 -0.017 -0.114  0.279  0.028  0.128]


