In a certain Algebra 2 class of 23 students, 15 of them play basketball and 16 of them play baseball. There are 3 students who play neither sport. What is the probability that a student chosen randomly from the class plays both basketball and baseball?