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]: [216.322, 137.711, 96.528, 68.43, 5.194, 94.049]
[A]: [0.35  0.223 0.156 0.111 0.008 0.152]


[Q]: [121.476, 242.811, 19.555, 237.992]
[A]: [0.195 0.39  0.031 0.383]


[Q]: [-24.097, 1.4]
[A]:
[ 1.062 -0.062]