Students on the school track team may compete in up to 3 events. The probability distribution for the number of events in which a student competes is provided. Let X = the number of events a student competes in. Calculate the median of the distribution.