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]: [20.099, 137.273, 239.87, 148.001, 151.274, 226.122, 100.529, 225.509, 122.443, 229.499]
[A]: [0.013 0.086 0.15  0.092 0.095 0.141 0.063 0.141 0.076 0.143]


[Q]: [2.001, -42.852, 156.298, 65.76, 139.545, 93.3, 79.044, 223.153, 64.105]
[A]: [ 0.003 -0.055  0.2    0.084  0.179  0.12   0.101  0.286  0.082]


[Q]: [97.227, 246.29, 184.583, 106.707]
[A]:
[0.153 0.388 0.291 0.168]