A gardener wanted to plant vegetables in his garden. Hence he bought 10 seeds of brinjal plant, 12 seeds of cabbage plant, and 8 seeds of radish plant. The shopkeeper assured him of germination probabilities of brinjal, cabbage, and radish to be 25%, 35%, and 40% respectively. But before he could plant the seeds, they got mixed up in the bag and he had to sow them randomly.

What is the probability that it is a cabbage seed, given that the chosen seed germinates?