What is the last name of the student who received an A in the class with the code 10018?
select t1.stu_lname from student as t1 join enroll as t2 on t1.stu_num = t2.stu_num where t2.enroll_grade = 'A' and t2.class_code = 10018