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: [123.389, 216.281, 28.954, 3.127, 122.198, 229.636, 217.427, 190.386]
Output:
[0.109 0.191 0.026 0.003 0.108 0.203 0.192 0.168]