Please read the following table in Markdown format and then answer the question according to the table. Table cells in one row are seperated by '|', and different rows are seperated by '
'.

Table:
| Name | Type | Date | Condition | Ownership |
| --- | --- | --- | --- | --- |
| Borthwick Castle | Tower house | 1430 | Occupied | Private |
| Crichton Castle | Courtyard castle | 14th century | Preserved | Historic Scotland |
| Dalhousie Castle | Historic house | 16th century | Occupied | Private |
| Dalkeith Palace | Historic house | 18th century | Occupied | Duke of Buccleuch |
| Hawthornden Castle | Tower house | 17th century | Occupied | Private |
| Melville Castle | Castellated mansion | 18th century | Restored | Private |
| Newbattle Abbey | Fortified house | 17th century | Altered | Newbattle Abbey College |
| Roslin Castle | Keep & ranges | 14th century | Keep is a ruin, later ranges occupied | Earl of Rosslyn |
Question:
What is the Type of castle from the 14th Century which Condition is preserved?
Answer:
Courtyard castle