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 boy and a girl playing with frisbee in the lawn', Sentence2: 'a woman in a bikini riding a bike'. Is the frequency of the word 'a' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'a man that is sitting down eating some food', Sentence2: 'a bride is standing on the grass under an umbrella'. Is the frequency of the word 'a' in two sentences equal?
Example Output: Yes

Example Input: Sentence1: 'a photograph of a person sitting on a toilet seat', Sentence2: 'a woman using a hair brush with red hair'. Is the frequency of the word 'woman' in two sentences equal?
Example Output:
No