Jamie has a collection of pencil cases. He starts with 12 pencil cases. For his birthday, he receives 5 more pencil cases from his friends. After that, he decides to give 3 pencil cases to his cousin. How many pencil cases does Jamie have now?