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]: [196.009, -51.198, 225.434, 163.821, 32.153, -92.074]
[A]: [ 0.413 -0.108  0.475  0.346  0.068 -0.194]


[Q]: [47.49, -79.552, 16.735, 113.506, 214.257, 80.403, 184.582]
[A]: [ 0.082 -0.138  0.029  0.197  0.371  0.139  0.32 ]


[Q]: [-84.61, 60.287, -45.907, 173.911, 174.479]
[A]:
[-0.304  0.217 -0.165  0.625  0.627]