THE DOCTOR: Oh, I always like to do the unexpected. Takes people by surprise.
Robert Holmes (1926-1986) British television screenwriter
Doctor Who (1963), 23×01 “The Trial of a Time Lord: The Mysterious Planet,” Part 1 (1985-01-05)
(Source)
(Source (Video)).
A number of sources start the second sentence with "It takes," which is not supported by the video.
Numbering for the story/serial within the season is controversial. Season 23 consisted of 14 episodes ("Part One" through "Part Fourteen") under the title "The Trial of a Time Lord." In turn, there were four distinct segments directed/written by different individuals, which were then separately novelized under new names (in this case, "The Mysterious Planet").

