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: [165.531, 117.392, 194.865, -69.246]

A: [ 0.405  0.287  0.477 -0.169]
****
Q: [121.476, 242.811, 19.555, 237.992]

A: [0.195 0.39  0.031 0.383]
****
Q: [8.925, 8.046, 244.754, 5.532, 34.244, 193.309]

A:
[0.018 0.016 0.495 0.011 0.069 0.391]
****