Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request.  # noqa: E501
### Context:
CREATE TABLE ship (TYPE VARCHAR, flag VARCHAR)
### Question:
Find the ship type that are used by both ships with Panama and Malta flags.
### Answer:
SELECT TYPE FROM ship WHERE flag = 'Panama' INTERSECT SELECT TYPE FROM ship WHERE flag = 'Malta'