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]: [166.025, 235.078, 2.082, -93.916, -96.865, 81.476, 212.551, 140.357]
[EX A]: [ 0.257  0.363  0.003 -0.145 -0.15   0.126  0.329  0.217]

[EX Q]: [-59.828, 30.296, 154.848, 160.154, -97.69]
[EX A]: [-0.319  0.161  0.825  0.853 -0.52 ]

[EX Q]: [1.039, 93.865, 224.277, 60.477, -95.946, -57.95, -15.21, 125.151, -41.251]
[EX A]:
[ 0.004  0.319  0.762  0.205 -0.326 -0.197 -0.052  0.425 -0.14 ]