Cate and Elena were playing a card game. The stack of cards in the middle had 28 cards in it to begin with. Cate added 8 cards to the stack. Elena then took 13 cards from the stack. Finally, Cate took 3 cards from the stack. How many cards were left in the stack?