In a furniture shop , 24 tables were bought at the rate of Rs. 450 per table . The shopkeeper sold 16 of them at the rate of Rs. 600 per table and the remaining at the rate of Rs. 400 per table . Find his gain or loss.