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]: [-19.19, 16.875, 89.701, 183.842, 177.318, 143.688, 248.552, 198.75]
[A]: [-0.018  0.016  0.086  0.177  0.171  0.138  0.239  0.191]


[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]: [-11.99, 58.529, -3.1, 72.86, -90.108, -1.915, -92.503, 155.322]
[A]:
[-0.138  0.672 -0.036  0.837 -1.035 -0.022 -1.062  1.783]