What is the Type of castle from the 14th Century which Condition is preserved?
CREATE TABLE "midlothian" (
  "name" text,
  "type" text,
  "date" text,
  "condition" text,
  "ownership" text
);
SELECT "type" FROM "midlothian" WHERE "date"='14th century' AND "condition"='preserved';