Twenty-four students took a test. Fourteen students earned an A and 8 students earned a B. A student will be randomly chosen. What is the probability that the student earned an A on the last test? Enter your answer as a fraction, in simplest form, in the box.