Jose had 4 times as many trading cards as Philippe. After Jose gave away 50 cards to his little brother and Philippe gave 5 cards to his friend for his birthday, they each had an equal number of cards. How many trading cards did Jose have before he started giving them away?