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.

[232.478, 49.476, 112.812, 166.67, 191.635, 64.804, -32.326, -2.103]
Output:
[ 0.297  0.063  0.144  0.213  0.245  0.083 -0.041 -0.003]