A tray contains 12 ham sandwiches, 10 turkey sandwiches, and 8 peanut butter sandwiches. If Carrie takes a sandwich from the tray at random, what is the probability that she takes a ham sandwich?