Q: 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.
[187.317, 245.539, -91.781, 4.593, 213.426, 40.074, 10.672, 18.457, -38.933]
A:
[ 0.318 0.417 -0.156 0.008 0.362 0.068 0.018 0.031 -0.066]