Indian economy offers hope as China struggles