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: [166.477, -53.111, -40.39, 161.112, 111.696, -78.474, 30.931, 86.513, 27.137]

[ 0.404 -0.129 -0.098  0.391  0.271 -0.191  0.075  0.21   0.066]