Given a phrase describing the relationship between two words, extract the words and the lexical relationship between them. The relation has to be of the type 'MemberOf', 'MadeOf', 'Synonym', 'Entails', 'HasA', 'HasProperty', 'PartOf', 'Antonym' or 'IsA'. The output should have the format: word1 relation word2.

[EX Q]: high can be used with the same meaning of tower
[EX A]: high Synonym tower

[EX Q]: sleep is a kind of relax
[EX A]: sleep IsA relax

[EX Q]: library is a kind of place
[EX A]:
library IsA place