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]: [-92.516, 245.148, 192.383, 24.265, -87.629, 5.945, -86.275, 165.992]
[A]: [-0.252  0.667  0.524  0.066 -0.239  0.016 -0.235  0.452]


[Q]: [99.006, 230.874, 192.481, 88.048, 205.335, 223.574, 81.41, 144.385, 211.885, 90.88]
[A]: [0.063 0.147 0.123 0.056 0.131 0.143 0.052 0.092 0.135 0.058]


[Q]: [129.713, 66.544, 136.115, 113.336, -64.957, 75.445, -8.551]
[A]:
[ 0.29   0.149  0.304  0.253 -0.145  0.169 -0.019]