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: [31.727, -54.879, 23.565, -21.412, -53.738, 25.187, 171.877]

[ 0.259 -0.449  0.193 -0.175 -0.439  0.206  1.405]