A person sells his table at \(12\frac{1}{2}\%\) profit and his chair at \(8\frac{1}{3}\%\) loss and gains Rs. 25 on the whole. But if he sells the table at \(8\frac{1}{3}\%\) loss and the chair at \(12\frac{1}{2}\%\) profit, then he neither gains nor loses. Then the cost price of the table (in Rs.) is
1
360
2
340
3
320
4
300