The student had to pass an important subject, otherwise she would lose something precious