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: [40.838, 128.354, -51.564, 187.974, 8.318]
A: 
[ 0.13   0.409 -0.164  0.599  0.026]