A pirate found a treasure chest containing silver coins. He buried half of them and gave two-fifths of the remaining coins to his mother. Then, he gave two-thirds of the remaining coins to his wife. If he was left with 2550 coins, how many were in the chest when he found it?​