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: [90.332, 182.191, 210.74, -96.456, 9.634, 168.009, 76.026, 0.17, 246.418, -18.413]
Output:
[ 1.040e-01  2.097e-01  2.426e-01 -1.110e-01  1.109e-02  1.934e-01
  8.752e-02  1.957e-04  2.837e-01 -2.120e-02]