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.

[46.473, 113.856, 96.834, 233.171, 92.19, 22.711, 109.662, -77.332]
Output:
[ 0.073  0.179  0.152  0.366  0.145  0.036  0.172 -0.121]