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 herd of elephants traveling together on a dirt pasture', Sentence2: 'a women that has a bird in her lap'. Is the frequency of the word 'that' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'a row of parked motor cycles sitting on the side of a street', Sentence2: 'the man is covering his face with the mug'. Is the frequency of the word 'the' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'a man standing next to a woman in front of an oven', Sentence2: 'a female with blue hair and a yellow umbrella'. Is the frequency of the word 'a' in two sentences equal?
Example Output:
Yes