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: [-48.346, 86.837, 179.133, 121.058, -17.868, 75.923, 238.767, 248.931]

[-0.055  0.098  0.203  0.137 -0.02   0.086  0.27   0.281]