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]: [122.621, 54.698, 245.719, 147.453, 49.487, -4.205, 248.575]
[EX A]: [ 0.142  0.063  0.284  0.171  0.057 -0.005  0.288]

[EX Q]: [99.523, 213.163, 66.804, 91.768, 112.4, 63.324, -81.324, 25.787]
[EX A]: [ 0.168  0.36   0.113  0.155  0.19   0.107 -0.138  0.044]

[EX Q]: [249.541, 233.825, 9.968]
[EX A]:
[0.506 0.474 0.02 ]