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: [36.245, 166.155, -59.685, -49.745, -81.148, 155.949, 35.785, -50.429]

[ 0.237  1.085 -0.39  -0.325 -0.53   1.018  0.234 -0.329]