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]: [26.353, 248.25, -61.679, 242.486]
[A]: [ 0.058  0.545 -0.135  0.532]


[Q]: [208.092, -95.844, 241.374, 135.559, 143.117, 245.422]
[A]: [ 0.237 -0.109  0.275  0.154  0.163  0.28 ]


[Q]: [121.665, 129.058, -26.583, 156.198]
[A]:
[ 0.32   0.339 -0.07   0.411]