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: [181.091, 12.156, 82.607, 167.194, 157.793, 21.726, 115.324, 36.2, 88.41, -65.701]

A: [ 0.227  0.015  0.104  0.21   0.198  0.027  0.145  0.045  0.111 -0.082]
****
Q: [107.499, 46.989, 52.923, -98.504, 12.47, 176.268, 89.606, 240.138]

A: [ 0.171  0.075  0.084 -0.157  0.02   0.281  0.143  0.383]
****
Q: [181.859, 52.763, 225.621, -50.983, -59.864, 130.141, -70.398, -85.015, 73.359, 84.442]

A:
[ 0.377  0.109  0.468 -0.106 -0.124  0.27  -0.146 -0.176  0.152  0.175]
****