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]: [214.567, 164.667, 155.245, -60.051, 98.123]
[A]: [ 0.375  0.288  0.271 -0.105  0.171]


[Q]: [141.801, -34.863, 156.984, 129.543, 63.836, 126.413, 105.502]
[A]: [ 0.206 -0.051  0.228  0.188  0.093  0.183  0.153]


[Q]: [225.816, 26.078, 20.308, -54.884, 168.55, -42.039, 74.004, 210.86]
[A]:
[ 0.359  0.041  0.032 -0.087  0.268 -0.067  0.118  0.335]