Can I ask this in math site?
Given a series of 30 random numbers in the ascending order - 120, 140, 220, 250, 400, 422, 451, 800, 864 etc.,
How can I resize each number of another one so the sum of final list is exactly 1000. The resized number should be a whole number. The size of each resized number should be relative to its original value. For eg. If 120 is resized to 100 then 140 should be resized to 117.