Question 14$\frac17$ of a group of pupils score A for Mathematics; $\frac13$ score B; $\frac12$ score C; and the rest score D. If a total of 100 pupils score A or B, how many pupils score D?