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: [1.294, 187.726, 105.349, -44.144, 242.045, 29.972, 102.223]

[ 0.002  0.301  0.169 -0.071  0.388  0.048  0.164]