In a class of 152 ​students, 100 are taking math​ (M), 77 are taking science​ (S), and 55 are taking both math and science. One student is picked at random. Find the probability.

​P(taking math or science or​ both)