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.

[11.846, 247.839, 196.808, 123.318, 57.098, -81.728, 231.532, 154.12, -85.817, 5.042]
Output:
[ 0.014  0.288  0.229  0.143  0.066 -0.095  0.269  0.179 -0.1    0.006]