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: [203.576, -76.704, 179.015, 48.375, 70.641, 76.157, 150.392, 118.379, 71.556]

A: [ 0.242 -0.091  0.213  0.057  0.084  0.091  0.179  0.141  0.085]
****
Q: [244.91, 126.041]

A: [0.66 0.34]
****
Q: [236.124, -64.344, 178.929, 46.061, 153.403, -81.452, 108.876]

A:
[ 0.409 -0.111  0.31   0.08   0.266 -0.141  0.188]
****