A = w + 5
The variable w represents the number of weeks he has attended culinary school, and the variable a represents the total number of appetizer recipes he knows. After how many weeks of culinary school will Noah know a total of 18 appetizer recipes?