#### Dividing a pile of coins into two such each pile has same number of tails facing up

Vivekanand Vellanki

0

There are 10 coins all with heads facing upwards. A magician picks a volunteer from the crowd and says the following to the volunteer:
- Pick any number of coins and flip them so that tails are facing up
- Now, tell me how many coins have tails facing up
The magician claims that he can divide the 10 coins into 2 piles such that both piles have same number of coins with tails facing up. And, he will do this blindfolded.
The magician is only allowed to separate the coins into 2 piles and he can choose to flip some coins. How does the magician do this?