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: [168.725, 128.956]

A: [0.567 0.433]
****
Q: [240.841, 139.486, 28.367, 224.397, -7.816, 171.664, 120.019]

A: [ 0.263  0.152  0.031  0.245 -0.009  0.187  0.131]
****
Q: [169.015, 84.954, -63.316, -60.234, 89.328, 90.512, -81.962, 117.475, -99.029]

A:
[ 0.685  0.344 -0.257 -0.244  0.362  0.367 -0.332  0.476 -0.401]
****