Question: Who directed the film where the actor who played Gandalf played Cogsworth?

<P0-S0>  The film is based on Disney's 1991 animated film of the same name, itself an adaptation of Jeanne-Marie Leprince de Beaumont's eighteenth-century fairy tale. <P0-S1> Beauty and the Beast is a 2017 American musical romantic fantasy film directed by Bill Condon from a screenplay written by Stephen Chbosky and Evan Spiliotopoulos, and co-produced by Walt Disney Pictures and Mandeville Films. <P0-S2>  The film features an ensemble cast that includes Emma Watson and Dan Stevens as the titular characters with Luke Evans, Kevin Kline, Josh Gad, Ewan McGregor, Stanley Tucci, Audra McDonald, Gugu Mbatha-Raw, Ian McKellen, and Emma Thompson in supporting roles. <SEP> <P1-S0> A Wednesday! <P1-S1>  is a 2008 Indian thriller film written and directed by Neeraj Pandey. <P1-S2>  It stars Naseeruddin Shah and Anupam Kher. <P1-S3>  Set between 2 pm and 6 pm on a Wednesday, the film depicts an about-to-retire police commissioner (Anupam Kher) narrating a sequence of events that unfolded on a particular Wednesday. <P1-S4>  There does not exist any written record. <P1-S5>  The awareness of the incident exists only in his mind and in those of several individuals who were involved, willingly and unwillingly, and how those events affected the lives of all the concerned people. <P1-S6>  It was the inspiration for Tamil movie "Unnaipol Oruvan" , Telugu movie "Eeenadu", with Kamal Hassan in the role played by Naseeruddin Shah in the original and Mohanlal and Daggubati Venkatesh playing the role acted by Anupam Kher in the original in Tamil and Telugu respectively and also Hollywood movie A Common Man (film). <P1-S7>  Directed by Chandran Rutnam with actor Ben Kingsley portraying the role played by Nasseruddin Shah and Ben Cross portraying the role played by Anupam Kher. <SEP> <P2-S0> Stephen Nicholas (born 23 August 1978) also known as Stephen Charles Nicholas is an actor and presenter from Doncaster, South Yorkshire, England. <P2-S1>  Stephen currently lives in Sheffield, his first role was on Sky One's Dream Team, where he played Scott Ward. <P2-S2>  From there, he filmed the first in the trilogy Goal! <P2-S3>  (In which he played a Newcastle United Reserves player). <P2-S4>  Following this, he moved to Los Angeles, where he played Smith in the feature film Futbaal: The Price of Dreams. <P2-S5>  Stephen then returned to the UK to make a Bollywood film called Dhana Dhana Goal with John Abraham. <P2-S6>  Stephen then experienced his first opportunity in reality TV with the show Premier League All Stars for Sky One, as well as playing a footballer, he was on-hand to present celebrity gossip and pitch side reports. <P2-S7>  He then appeared in Celebrity Most Haunted and Date the Enemy. <P2-S8>  From there he then went on to star in Goal 3 where he not only acted in the film he also became the football choreographer and choreographed all the football scenes in the film. <P2-S9>  Nicholas then starred in the film Damned United where he played Welsh international Alan Durban, the film was filmed in Chesterfield and Leeds and was directed by Oscar winner Tom Hooper and also starred Oscar nominated Michael Sheen. <P2-S10>  Stephens next production was the feature film called 'No Way Back Now'about the notorious Manchester district of Moss Side, where Stephen played the lead actor Stuart Gavin,The feature is roughly based on the notorious Gooch gang that terrorised Manchester throughout the years. <P2-S11>  The next move for Stephen was pantomime where he was part of the production Aladdin over the Christmas period of 2015 in Doncaster playing Abanaza the main villain which he did until January 7, 2016! <P2-S12> . <P2-S13>  He has recently been cast in the up-and-coming Feature Film 'Whiteblade' where he will play Thurstan the head Warlord Whiteblade is currently in production and Stephen is shooting his scenes in August 2016. <P2-S14>  In September 2016 Stephen will be presenting the Sky TV show 'Britz go Bollywood' the show consists of a group of Celebrities being dressed by The best Indian designers, Stephen is the main presenter of the show which will be screened live September 2, 2016. <SEP> <P3-S0> Ian McKellen (born 25 May 1939) is an English stage and screen actor. <P3-S1>  He is the recipient of six Laurence Olivier Awards, a Tony Award, a Golden Globe Award, two Academy Award nominations, four BAFTA nominations and five Emmy Award nominations. <P3-S2>  McKellen's work spans genres ranging from Shakespearean and modern theatre to popular fantasy and science fiction. <P3-S3>  His notable film roles include Gandalf in "The Lord of the Rings" and "The Hobbit" trilogies, Magneto in the "X-Men" films, Sir Leigh Teabing in "The Da Vinci Code" (2006), Sherlock Holmes in "Mr. Holmes" (2015) and Cogsworth in "Beauty and the Beast" (2017).