Instructions: In this task, you are given a set of context paragraph and some supporting facts to answer a question. Your task is to generate answer for given question based on set of context paragraphs and supporting facts.
Input: Context_1 : Revolutionary Road is a 2008 British-American romantic drama film directed by Sam Mendes. It was written by Justin Haythe and based on the 1961 novel of the same name by Richard Yates. This is the second on-screen collaboration among Leonardo DiCaprio, Kate Winslet and Kathy Bates, who previously co-starred in "Titanic". The performances of DiCaprio and Winslet earned them a Golden Globe Award for Best Actor Motion Picture Drama nomination and a Golden Globe Award for Best Actress respectively, and the film was nominated for a further three Golden Globes, four BAFTAs and three Oscars. Context_2 : Cliff Dorfman is an American screenwriter, film director and actor best known for his work on HBO's "Entourage" and the 2011 feature film "Warrior." Dorfman's entertainment industry career began in the 1990s with recurring roles on "7th Heaven" and "Beverly Hills 90210". He also worked as a Hollywood club promoter, appearing in the documentary film "Hollywood: Wild in the Streets" and in Bret Easton Ellis' 1999 novel "Glamorama", in which Dorfman is named as a friend of actor Leonardo DiCaprio. Context_3 : Give 'Em the Boot IV is the fourth compilation album in the "Give 'Em the Boot" series, released in 2004 (see 2004 in music). The album is best known to feature the first recorded version of "I'm Shipping Up to Boston" by the Dropkick Murphys. The song would be re-recorded for "The Warrior's Code", featured on the soundtrack for "The Departed" and would eventually become the band's biggest selling single breaking them through to a wider audience. Context_4 : The Departed is a 2006 American crime drama film directed by Martin Scorsese and written by William Monahan. It is a remake of the 2002 Hong Kong film "Infernal Affairs". The film stars Leonardo DiCaprio, Matt Damon, Jack Nicholson, and Mark Wahlberg, with Martin Sheen, Ray Winstone, Vera Farmiga, Anthony Anderson and Alec Baldwin in supporting roles. Context_5 : Leonardo DiCaprio is an American actor and producer who started his career performing as a child on television. He appeared on the shows "The New Lassie" (1989) and "Santa Barbara" (1990) and also had long running roles in the comedy-drama "Parenthood" (1990) and the sitcom "Growing Pains" (1991), before making his film debut in the 1991 direct-to-video release "Critters 3". Two years later, he played Tobias Wolff opposite Robert De Niro in "This Boy's Life" (1993). He followed this with a supporting role in "What's Eating Gilbert Grape" (1993), which earned him a nomination for the Academy Award for Best Supporting Actor. In 1995, DiCaprio played the American author Jim Carroll in "The Basketball Diaries" and the French poet Arthur Rimbaud in "Total Eclipse". The following year he played Romeo Montague in the Baz Luhrmann-directed film "Romeo + Juliet" (1996). DiCaprio starred opposite Kate Winslet in the James Cameron-directed film "Titanic" (1997). The film became the highest grossing at the worldwide box-office, and made him famous globally. For his performance, he received the MTV Movie Award for Best Male Performance and his first nomination for the Golden Globe Award for Best Actor Motion Picture Drama. Context_6 : The Wolf of Wall Street is a 2013 American biographical black comedy crime film directed by Martin Scorsese and written by Terence Winter, based on the memoir of the same name by Jordan Belfort. It recounts Belfort's perspective on his career as a stockbroker in New York City and how his firm Stratton Oakmont engaged in rampant corruption and fraud on Wall Street that ultimately led to his downfall. Leonardo DiCaprio (who was also a producer) stars as Belfort, with Jonah Hill as his business partner and friend Donnie Azoff, Margot Robbie as his wife Naomi Lapaglia and Kyle Chandler as Patrick Denham, the FBI agent who tries to bring him down. Matthew McConaughey, Rob Reiner, Jon Favreau, Joanna Lumley and Jean Dujardin also star. The film marks the director's fifth collaboration with DiCaprio, after "Gangs of New York" (2002), "The Aviator" (2004), "The Departed" (2006) and "Shutter Island" (2010), as well as his second collaboration with Winter after the television series "Boardwalk Empire" (201014). Context_7 : Benjamin "Benny" Ciaramello"' (born April 4, 1981) is an American actor. He first appeared in the blockbuster remake of "War of the Worlds" directed by Steven Spielberg in 2005, next in the independent film "Saint Francis" alongside Dita Von Teese, and then later that same year in "The Guardian" alongside Ashton Kutcher and Kevin Costner. He would continue on next to star opposite Isabella Rossellini in the showtime pilot "Filthy Gorgeous" written by Ron Nyswaner the Academy Award nominated writer of the film "Philadelphia" and produced by Neil Meron and Craig Zadan the Academy Award-winning producing team of "Chicago". However, it wasn't until two years later that he became most known to the public for his role as Santiago Herrera, the troubled delinquent in season 2 of the Emmy Award-winning "Friday Night Lights". Shortly after, he signed a deal with ABC in which he guest starred on multiple programs for the network including his recent work as Scott Murphy in the ABC series "Secrets and Lies" opposite Juliette Lewis and Ryan Phillippe in 2015. He has recently been cast in the 1920s crime film "Live By Night" as Paulo Bartolo alongside Ben Affleck and Chris Messina. The film will be directed by Affleck, produced by Leonardo DiCaprio and Warner Brothers, and is set to be released in October 2017. Context_8 : Delirium is an upcoming American supernatural horror film directed by Dennis Iliadis and written by Adam Alleca. It stars Topher Grace, Genesis Rodriguez and Patricia Clarkson. The film was produced by Jason Blum through Blumhouse Productions and Leonardo DiCaprio through Appian Way Productions. The film is going to be released by Blumhouse Tilt and High Top Releasing. Context_9 : George Paul DiCaprio (born November 30, 1943) is an American writer, editor, publisher, distributor, and former performance artist, known for his work in the realm of underground comix, where he collaborated with such notables as Timothy Leary and Laurie Anderson. He is the father of American actor Leonardo DiCaprio. Context_10 : What's Eating Gilbert Grape is a 1993 American drama film directed by Lasse Hallstrom and starring Johnny Depp, Juliette Lewis, Darlene Cates and Leonardo DiCaprio. The film follows 24-year-old Gilbert (Depp), a grocery store clerk caring for his morbidly obese mother and mentally impaired younger brother in a sleepy Midwestern town. Peter Hedges wrote the screenplay, adapted from his 1991 novel of the same name. The film was well-received; DiCaprio received his first Academy Award nomination for his role. fact_1 : Give 'Em the Boot IV is the fourth compilation album in the "Give 'Em the Boot" series, released in 2004 (see 2004 in music). fact_2 : The album is best known to feature the first recorded version of "I'm Shipping Up to Boston" by the Dropkick Murphys. fact_3 : The song would be re-recorded for "The Warrior's Code", featured on the soundtrack for "The Departed" and would eventually become the band's biggest selling single breaking them through to a wider audience. fact_4 : The Departed is a 2006 American crime drama film directed by Martin Scorsese and written by William Monahan. fact_5 : The film stars Leonardo DiCaprio, Matt Damon, Jack Nicholson, and Mark Wahlberg, with Martin Sheen, Ray Winstone, Vera Farmiga, Anthony Anderson and Alec Baldwin in supporting roles. Question: A song was re-recorded for The Warrior's code, appearing in a film with Leonardo Dicaprio, and written by who?
Output:
William Monahan