The average of twelve numbers is 39. The average of the last five numbers is 35, and that of the first four numbers is 40. The fifth number is 6 less than the sixth number and 5 more than the seventh number. The average of the fifth and sixth numbers is:
A44
B47
C45
D50