Two inlet pipes A and B can fill a cistern in 30 minutes and 36 minutes, respectively. Initially, only A is opened for 10 minutes. After 10 minutes, A is closed and B is opened. In how much time (in minutes) will the inlet pipe B fill the remaining part of the cistern?
A22
B26
C24
D20