CREATE TABLE table_13737 ("No. in series" FLOAT, "No. in season" FLOAT, "Title" TEXT, "Directed by" TEXT, "Written by" TEXT, "Original air date" TEXT)

With the title 'Memories by Moonlight', and a less than 39 number in season, and a greater than 66 number in series, who was the written by?
SELECT "Written by" FROM table_13737 WHERE "No. in series" > '66' AND "No. in season" < '39' AND "Title" = 'memories by moonlight'
SELECT "Written by" FROM "table_13737" WHERE "No. in season" < '39' AND "No. in series" > '66' AND "Title" = 'memories by moonlight'