Detailed Instructions: The task is to generate the correct answer for a given math problem.
Q: Problem: jerry and michelle play a card game . in the beginning of the game they have an equal number of cards . each player , at her turn , gives the other a third of her cards . michelle plays first , giving jerry a third of her cards . jerry plays next , and michelle follows . then the game ends . jerry ended up with 14 more cards than michelle . how many cards did each player have originally ?
A:
27