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: [99.523, 213.163, 66.804, 91.768, 112.4, 63.324, -81.324, 25.787]

A: [ 0.168  0.36   0.113  0.155  0.19   0.107 -0.138  0.044]
****
Q: [119.982, -19.876, 49.911, 27.813, 4.049, 44.746, 244.741, -80.877]

A:
[ 0.307 -0.051  0.128  0.071  0.01   0.115  0.627 -0.207]
****
