In a deck of cards, there are 13 cards in each suit. If you need to select 3 hearts out of the 13, the number of ways to do so is 13P3. Then, you need to select 4 cards out of the remaining 39. The number of ways to do so is 39P4. What is the total number of ways to select these cards?