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.

[142.019, 5.772, 91.524, 189.339, 209.732, 27.634, 163.397, 49.118]
Output:
[0.162 0.007 0.104 0.216 0.239 0.031 0.186 0.056]