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.

[-36.666, -12.778, 15.99, 124.537, -48.328, 161.559, 63.771, 71.526, 161.588, 34.181]
Output:
[-0.068 -0.024  0.03   0.233 -0.09   0.302  0.119  0.134  0.302  0.064]