At middle school lunch in the cafeteria, 60% of the students pack a lunch and 40% buy a lunch. Of the students who pack a lunch, 70% have a cookie. What is the percent of the students who have a cookie at lunch?