In a certain group of 51 students, 23 are taking accounting, 17 are taking chemistry, and 4 are taking both. What is the probability that a randomly chosen student is taking accounting or chemistry? Give your answer as a fraction.