I am not a real math student I am ICT student and now I should write program to calculate the probability of this question.

Please help me because I don't have vast knowledge in math esp in Probability and Statistics.

This is problem:

We have 114 number and sum of them is 6236 now we want to distribute 6236 on 114 number (Number can not be zero).

Now we add row number to number here number of even numbers and odd number should become 57 (Even numbers = Odd numbers)

I think it would be better that we have look at this image: