So the number from the third pile to the first pile is 16.
So before the third pile is taken out to the first pile * *: 32+ 16 = 48,
So the original * * * of the third pile is 48/2 = 24.
So before the second pile is taken out to the third pile * * *: 32+24 = 56,
So the original * * * of the second pile is 56/2 = 28.
So the first pile has 96-24-28 = 44 original * * (you can also use 16+28=44).