At a local fitness​ center, members pay a ​$14 membership fee and ​$3 for each aerobics class. Nonmembers pay ​$5 for each aerobics class. For what number of aerobics classes will the cost for members and nonmembers be the​ same?