The Bucket List

Blue-collar mechanic Carter Chambers (Freeman) and billionaire hospital magnate Edward Cole (Nicholson) meet for the first time in the hospital after both have been diagnosed with cancer. They become friends as they undergo their respective treatments. Carter is a gifted amateur historian and family man who had wanted to become a history professor, but in his youth had been "broke, black, and with a baby on the way" and thus never rose above his job at the McCreath body shop. Edward is a four-times-divorced healthcare tycoon and cultured loner who enjoys nothing more than tormenting his personal valet/servant, Matthew (Hayes), whom he calls Thomas. He makes Matthew serve Carter as well as him and orders his employee and doctor (Morrow) to familiarize himself with Carter's health.Carter begins writing a "bucket list," or things to do before he "kicks the bucket." After hearing he has less than a year, Carter wads it up and tosses it on the floor. Edward finds it the next morning. He urges Carter to do everything on the list (suggesting he add things like skydiving) and offers to finance the trip. Carter agrees, despite the protests of his wife, Virginia (Todd).The pair begins an around-the-world vacation, embarking on race car driving, skydiving, climbing the Pyramids, and going on a lion safari in Africa. They discuss a rare coffee and its unusual taste. They also confide about faith and family, revealing that Carter has long been feeling less in love with his wife and that Edward is deeply hurt by his estrangement with his only daughter, who disowned him after he sent some people to "take care of" her abusive husband (hinting at physical assault, but ruling out murder).In Hong Kong, Edward hires a prostitute (Rowena King) for Carter, who has never had sex with any woman but his wife. Carter declines and asks to return home, and reciprocates by trying to reunite Edward with his daughter. Edward angrily storms off. Carter returns home to his wife, children, and grandchildren.The family reunion is short-lived. In the preparation for a romantic interlude, Carter suffers a seizure and is rushed to the hospital. The cancer has spread to his brain. Edward, who is now in remission, visits him and they share a few moments, where Carter reveals to great amusement the disgusting origin of the "world's most rare coffee" (Kopi Luwak), over which Edward obsesses and Carter has refused to drink. Carter crosses off "laugh till I cry" from his bucket list and insists Edward finish the list without him. Carter goes into surgery but the procedure is unsuccessful. He dies on the operating table.Edward delivers a eulogy at the funeral, explaining that he and Carter had been complete strangers, but the last three months of Carter's life were the best three months of his (Edward's). He crosses off "help a complete stranger for a common good" from the list. We see Edward finally attempt to reconcile with his daughter. She not only accepts him back into her life but also introduces him to the granddaughter he never knew. After greeting the little girl with a kiss on the cheek, Edward crosses "kiss the most beautiful girl in the world" off the list.In the epilogue, it is revealed that Edward lived until the age of 81, and his ashes are brought to the top of the Himalayas. It turns out to be Matthew who does this, and as he places Edward's ashes alongside a can containing Carter's, he crosses off the last item on the Bucket List ("witness something truly majestic") and places it beside them. In the final lines of the movie, Carter explains " I'm pretty sure he {Edward} was happy with his final resting place. Because he was buried on the mountain, and that was against the law."(Source: WikiPedia. Bangs_McCoy)

Question: Who goes into surgery but the procedure is unsuccessful?
Answer: Carter; Carter