Riddle: Three pirates, One Eye, Long John, and Peg Leg, were gambling with pieces of gold. All the winnings were piled up on the table. One Eye said, 'I have won 1/2' and took a large handful or two. Long John said, 'I have won 1/3' and took a handful. Peg Leg said, ' I have won 1/6' and took a small handful. One Eye said, ' I have taken too much' and returned a half. Long John said, 'I have taken too much' and returned a third. Peg Leg said, 'I have taken too much and returned a sixth. The money on the table was then shared out equally and they had 42 pieces each. One Eye said, 'I have now 1/2 of the total originally.' Long John said, ' I now have 1/3 of the originally.' Peg Leg said, 'I have now 1/6 of the originally.' How many pieces of gold were originally on the table?