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: [126.965, 88.025, 194.262, 47.88, 220.77, -40.504, 40.966, 9.255]

[ 0.185  0.128  0.283  0.07   0.321 -0.059  0.06   0.013]