A, B, C, D and E play a game of cards. A says to B, "If you give me 3 cards, you will have as many as I have at this moment while if D takes 5 cards from you, he will have as many as E has". A and C together have twice as many cards as E has. B and D together also have the same number of cards as A and C taken together. If together they have 150 cards, then how many cards has C got?