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: [24.112, 124.142, 193.374, 26.609, 228.483, 53.107, 153.075, 23.176, 87.534]

A: [0.026 0.136 0.212 0.029 0.25  0.058 0.168 0.025 0.096]
****
Q: [11.893, 122.938, -45.515, -59.484, 12.016, 148.604, -47.662, -94.215, 161.234, 195.023]

A: [ 0.029  0.304 -0.112 -0.147  0.03   0.367 -0.118 -0.233  0.398  0.482]
****
Q: [136.555, 88.579, -32.359, 134.214, 168.142, 148.262, 62.283, 5.042, 206.734, 211.87]

A:
[ 0.121  0.078 -0.029  0.119  0.149  0.131  0.055  0.004  0.183  0.188]
****