The mathematics department of a college has 12 male​ professors, 7female​ professors, 13 male teaching​ assistants, and 12 female teaching assistants. If a person is selected at random from the​ group, find the probability that the selected person is a professor or a male.