In this task, answer 'Yes' if the frequency of the given word in the two sentences is equal, else answer 'No'.

Example Input: Sentence1: 'a smiling young woman with open yellow umbrella standing in front of a castlelike building', Sentence2: 'people on a car driving past elephants and a hippo'. Is the frequency of the word 'open' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'people playing a game in a wood gated field', Sentence2: 'a teddy bear sits next to a small pair of black boots'. Is the frequency of the word 'a' in two sentences equal?
Example Output: Yes

Example Input: Sentence1: 'a baby bird by itself in a nest made from straw', Sentence2: 'a woman sitting on a chair next to a man'. Is the frequency of the word 'a' in two sentences equal?
Example Output:
No