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 man is running while carrying a football', Sentence2: 'there are two boys playing soccer with a woman'. Is the frequency of the word 'boys' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'cooking some carrots with some seasoning on a flat pan', Sentence2: 'there is a bird that is standing in grass and water'. Is the frequency of the word 'a' in two sentences equal?
Example Output: Yes

Example Input: Sentence1: 'a hand holding a book on a table with a breakfast and coffee next to it', Sentence2: 'horse with a rider walking across a stream'. Is the frequency of the word 'with' in two sentences equal?
Example Output:
Yes