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: [169.605, 162.483, 223.258, -46.101, 0.499, -49.31, 10.067, 195.258]

A: [ 0.255  0.244  0.335 -0.069  0.001 -0.074  0.015  0.293]
****
Q: [121.476, 242.811, 19.555, 237.992]

A: [0.195 0.39  0.031 0.383]
****
Q: [237.333, 54.992, 67.343, -66.985, 233.14, 229.634, -59.419, -68.067]

A:
[ 0.378  0.088  0.107 -0.107  0.371  0.366 -0.095 -0.108]
****