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.

[EX Q]: [-18.717, 162.22]
[EX A]: [-0.13  1.13]

[EX Q]: [98.788, -10.935, 154.847, 241.275, 14.539]
[EX A]: [ 0.198 -0.022  0.311  0.484  0.029]

[EX Q]: [-64.256, 164.263, -36.545, 209.962, 83.763, -6.984, 101.925]
[EX A]:
[-0.142  0.363 -0.081  0.464  0.185 -0.015  0.225]