Based on Eva Ibbotson's 1979 book, in which a wizard holds a contest among the seven witches of Todcaster to determine which witch he will marry.