Machine A can sort 840 pieces of mail per hour, and Machine B can sort 760 pieces per hour. How long will it take both machines running at the same time to sort 12,800 pieces of mail?
A) 4 hours
B) 6 hours
C) 7 hours
D) 8 hours