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: [169.015, 84.954, -63.316, -60.234, 89.328, 90.512, -81.962, 117.475, -99.029]
Output:
[ 0.685  0.344 -0.257 -0.244  0.362  0.367 -0.332  0.476 -0.401]