You are in a dark room where a table is kept.
There are 50 coins placed on the table, out of which 10 coins are showing tails and 40 coins are showing heads.
The task is to divide this set of 50 coins into 2 groups (not necessarily the same size) such that both groups have the same number of coins showing the tails.
Divide the coins into a pile of 40 and a pile of 10 at random.
The heads will be divided somehow between the two piles.
N in one, and 10 – N in the other, where 0 <= N <= 10.