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]: [69.817, -34.361, 230.409]
[A]: [ 0.263 -0.129  0.867]


[Q]: [166.025, 235.078, 2.082, -93.916, -96.865, 81.476, 212.551, 140.357]
[A]: [ 0.257  0.363  0.003 -0.145 -0.15   0.126  0.329  0.217]


[Q]: [244.603, 188.791, 132.292, 109.977, 177.723, 238.551, 165.962, -10.083]
[A]:
[ 0.196  0.151  0.106  0.088  0.142  0.191  0.133 -0.008]