 Both groups received a home-based intervention of moderate aerobic and resistance exercises, nutritional counseling with protein supplementation, and relaxation exercises initiated either 4 weeks before surgery (prehabilitation) or immediately after surgery (rehabilitation), and continued for 8 weeks after surgery.Patients were managed with an enhanced recovery pathway.Primary outcome was functional exercise capacity measured using the validated 6-min walk test.