naive bayes mushroom problem

in the denominator of posterior probability, how did the term p(y=c) came