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.

[-77.674, -60.76, 220.033, 83.391, -78.679, 143.901, -13.779, -91.589]
Output:
[-0.622 -0.487  1.762  0.668 -0.63   1.153 -0.11  -0.734]