5 chairs and 4 tables together cost Rs.5600,while 4 chairs and 3 tables together cost Rs.4340.Find the cost of a chair and that of a table.