6. Miss Spelling has enough sheets of paper to give each pupil in her class 3 sheets and have 31 sheets left over. Alternatively, she could give each pupil 4 sheets and have 8 sheets left over. How many sheets of paper does she have?
A 31
B 34
C 43
D 91
E $\quad 100$