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]: [163.369, 154.385, -90.701, 231.795, -84.648]
[A]: [ 0.437  0.413 -0.242  0.619 -0.226]


[Q]: [155.911, 106.506, 225.124, 155.838, 181.174, 131.064, 36.503]
[A]: [0.157 0.107 0.227 0.157 0.183 0.132 0.037]


[Q]: [213.049, 128.186, 72.014, -29.854, -98.626, 183.998, -74.991, -18.379, 65.485]
[A]:
[ 0.483  0.291  0.163 -0.068 -0.224  0.417 -0.17  -0.042  0.149]