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: [230.341, 186.29, 25.269, 34.932, 24.799, 232.217, -23.004, 222.532]
Output:
[ 0.247  0.2    0.027  0.037  0.027  0.249 -0.025  0.238]