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.

[22.395, 249.965, 198.433, -78.588, 140.515, -2.179, 189.564, 63.673]
Output:
[ 0.029  0.319  0.253 -0.1    0.179 -0.003  0.242  0.081]