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: [17.77, 233.627, 33.782, 22.324, -77.723, 141.016, 227.434]

[ 0.03   0.391  0.056  0.037 -0.13   0.236  0.38 ]