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]: [-78.083, 47.943, -80.073]
[A]: [ 0.708 -0.435  0.727]


[Q]: [128.101, 16.516, 246.993, 104.335, -69.747, 238.429, -26.383]
[A]: [ 0.201  0.026  0.387  0.163 -0.109  0.374 -0.041]


[Q]: [199.47, 167.326, 202.936, 143.816, 204.629, 27.468, -9.784]
[A]:
[ 0.213  0.179  0.217  0.154  0.219  0.029 -0.01 ]