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.

[-4.002, 71.424, 145.098, 7.874, 34.798, -29.411, 45.733, 125.185, 62.268, 147.757]
Output:
[-0.007  0.118  0.239  0.013  0.057 -0.048  0.075  0.206  0.103  0.244]