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]: [195.848, 166.539, 226.032, 150.247, 108.638, 62.37, 181.928, 246.972]
[A]: [0.146 0.124 0.169 0.112 0.081 0.047 0.136 0.185]


[Q]: [245.345, 200.311, 242.92, -3.998, -12.158, 63.237]
[A]: [ 0.334  0.272  0.33  -0.005 -0.017  0.086]


[Q]: [242.037, -58.854, 204.764, 22.518, 165.635]
[A]:
[ 0.42  -0.102  0.355  0.039  0.288]