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.

[-64.552, 160.621, 170.506, 186.747, -71.356, 111.732, -44.774, 181.113, 165.425, 39.568]
Output:
[-0.077  0.192  0.204  0.224 -0.085  0.134 -0.054  0.217  0.198  0.047]