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.

[-65.574, 50.946, 74.838, -59.14, 0.448, -43.727, 20.718, -36.178]
Output:
[ 1.137 -0.883 -1.298  1.026 -0.008  0.758 -0.359  0.627]