Emma had some apples in her basket. Then, she picked 9 more apples. She gave 14 apples to Klara. She had 10 apples left. How many apples did Emma have in her basket to start?