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: [34.717, 228.811, -79.614, -95.512, 86.997, 42.123, 152.993, -0.089, 236.733, 96.217]
Output:
[ 4.936e-02  3.253e-01 -1.132e-01 -1.358e-01  1.237e-01  5.989e-02
  2.175e-01 -1.265e-04  3.366e-01  1.368e-01]