A - the result is a composite number
A' - the result is not a composite number
[tex]|\Omega|=6^5=7776\\A'=\{11111,21111,12111,11211,11121,11112\}\\|A'|=6\\\\|A|=|\Omega|-|A'|=7776-6=7770\\\\P(A)=\dfrac{7770}{7776}=\dfrac{1295}{1296}\approx99.9\%[/tex]