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.

Q: [216.322, 137.711, 96.528, 68.43, 5.194, 94.049]

A: [0.35  0.223 0.156 0.111 0.008 0.152]
****
Q: [11.893, 122.938, -45.515, -59.484, 12.016, 148.604, -47.662, -94.215, 161.234, 195.023]

A: [ 0.029  0.304 -0.112 -0.147  0.03   0.367 -0.118 -0.233  0.398  0.482]
****
Q: [-92.091, -54.146, -67.876, 208.622, 164.697, 94.269, 226.157, -70.958]

A:
[-0.225 -0.132 -0.166  0.51   0.403  0.231  0.553 -0.174]
****