The investigators hypothesize that prehabilitation will be a vital intervention supported by the PSH frail, however, high quality evidence from randomized trials is needed to support its efficacy. Therefore, the investigators propose a single center randomized controlled trial of prehabilitation of frail elderly patients having elective abdominal and thoracic cancer surgery to improve postoperative function (primary outcome), and to decrease postoperative resource utilization (secondary outcomes).