Instructions: 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: [64.45, 132.034, 18.267, 145.128, 102.403, -88.328, 80.873, -14.766, -15.901, 242.823]
Output:
[ 0.097  0.198  0.027  0.218  0.154 -0.132  0.121 -0.022 -0.024  0.364]