The student received the highest mark from a "dirty" teacher