A man bought 50 dozen fruits consisting of apples and bananas. An apple is cheaper than a banana. The number of dozens of apples he bought is equal to the cost per dozen of bananas in rupees and vice versa. If he had spent a total amount of $\mathrm{Rs} 1050$, find the number of dozens of apples and bananas he bought respectively.
(1) 12 and 38
(2) 14 and 36
(3) 15 and 35
(4) 18 and 32