Phil Lanthropist won a great deal of money in a contest. He gave 20% of his winnings to his parents, 25% of the remaining money to his children, and the remaining $900,000 to his favorite charity. What was the total number of dollars that Phil won?