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: [67.03, 54.116, -43.381, 156.987, 27.159, -83.563, 246.799, 242.974, 182.568]

A: [ 0.079  0.064 -0.051  0.185  0.032 -0.098  0.29   0.286  0.215]
****
Q: [96.7, 239.86, -73.576, 32.88, 108.566, 90.658, 231.201, 230.738]

A: [ 0.101  0.251 -0.077  0.034  0.113  0.095  0.242  0.241]
****
Q: [222.33, 185.402, -33.535, 147.622]

A:
[ 0.426  0.355 -0.064  0.283]
****