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]: [27.425, 165.583, 82.748, 74.086, 181.22, 39.498]
[A]: [0.048 0.29  0.145 0.13  0.318 0.069]


[Q]: [-83.508, -45.974, 241.098, 15.559, 178.455, 21.679, 107.872, 240.156, 244.933]
[A]: [-0.091 -0.05   0.262  0.017  0.194  0.024  0.117  0.261  0.266]


[Q]: [-27.72, 94.171, 199.861, 228.187]
[A]:
[-0.056  0.19   0.404  0.461]