AP beats Gujarat, TN in standard of living