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]: [74.977, 209.869]
[A]: [0.263 0.737]


[Q]: [52.712, 231.411, 178.973, 4.152]
[A]: [0.113 0.495 0.383 0.009]


[Q]: [71.224, 248.241, 139.206]
[A]:
[0.155 0.541 0.303]