Suppose one throws a coin 100 times, and gets exactly 50 heads. This is precisely the expected number of heads on average. Nevertheless, if one calculates the probability of 50 successes out of 100 trials, with 0.5 being the probability of success, the probability is :
(100 over 50) * 0.5^50*...