Of 30 applicants for a job, 14 had at least 4 years' experience, 18 had degrees, and 3 had less than 4 years' experience and did not have a degree. How many of the applicants had at least 4 years' experience and a degree?