Of the 50 entries in a costume contest, 31 entrants were dressed as heroes and 20 entrants were wearing a mask. If 9 entrants were dressed as heroes wearing a mask, how many entrants were neither dressed as heroes nor wearing a mask