Total no. of possible outcomes = 25 {1, 2, 3, … 25}

E ⟶ event of getting a prime no.

No. of favourable outcomes = 9 {2, 3, 5, 7, 11, 13, 17, 19, 23}

Probability, P(E) = (No.of favorable outcomes)/(Total no.of possible outcomes) = 9/25

Bar E⟶ event of not getting a prime no.

P(Bar E) = 1−P(E)=1−9/25 = 16/25