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

Example Input: Sentence1: 'horse with a rider walking across a stream', Sentence2: 'a heard of elephants with their backs turned'. Is the frequency of the word 'of' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'the motorcycle is equipped with all the latest gadgets', Sentence2: 'a group of people kiteboarding on top of the ocean'. Is the frequency of the word 'latest' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'two dogs are wearing bonnets tied to a pole', Sentence2: 'a big clock hanging on a piece of wood in a building'. Is the frequency of the word 'tied' in two sentences equal?
Example Output:
No