The price of a table and chair together is 1500 rupees. The price of the table is four times that of the chair. What is the price of each?