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: [121.797, 148.705, -20.956]

A: [ 0.488  0.596 -0.084]
****
Q: [130.633, 0.276, 211.746, 81.81, -5.286, 130.004, 148.146]

A: [ 0.187  0.     0.304  0.117 -0.008  0.186  0.212]
****
Q: [210.283, 221.753, -51.077, 78.271, -31.692, -83.831, 61.871, 243.305, 202.093]

A:
[ 0.247  0.261 -0.06   0.092 -0.037 -0.099  0.073  0.286  0.237]
****