In a certain Algebra 2 class of 22 students, 13 of them play basketball and 10 of them play baseball. There are 8 students who play both sports. What is the probability that a student chosen randomly from the class plays basketball or baseball?