Definition: 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.
Input: [2.297, 208.58, 195.5, 238.665, 229.399]
Output:
[0.003 0.239 0.224 0.273 0.262]