Three pipes P, Q, and R can fill a tank in 12, 15, and 20 minutes, respectively. If pipe P is opened all the time and pipes Q and R are opened for one hour alternatively, the tank will be full in:
A) 5 hours
B) 6 hours
C) 7 hours
D) 8 hours