It seems like a very simple problem but I couldn't figure out the solution myself (not homework)
Simplified it's the following:
10% chance to add 1 to a list
20% chance to add 2 to a list
30% chance to add 3 to a list
40% chance to add 4 to a list
and from that list I pick 1 number.
How much chance is there to get a specific number?
Running a simulation in matlab gave me:
29.3% to get 4;
20.9% to get 3;
13.5% to get 2;
6.2% to get 1;
30.1% to get 0 numbers in a list so no number could be picked.
I don't think there is an easy way. The chance you get $4$ is $0.4$ (that you added $4$ at all) times $\Big[(1-0.1)(1-0.2)(1-0.3)$ (that it is the only number on the list) plus $\frac 12\big(0.1(1-0.2)(1-0.3)+(1-0.1)0.2(1-0.3)+(1-0.1)(1-0.2)0.3\big)$ (because one other number was added) plus $\ldots\Big]$ and the dots have the cases where two or three other numbers were added.