You will be given a definition of a task first, then some input of the task.
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.

[231.375, 108.409, 196.644, 19.185, 122.384, -32.951, 42.641, 210.047]
Output:
[ 0.258  0.121  0.219  0.021  0.136 -0.037  0.047  0.234]