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 flag flying with kites all around it', Sentence2: 'a woman about to eat a hot dog with lots of condiments'. Is the frequency of the word 'with' in two sentences equal?
Example Output: Yes

Example Input: Sentence1: 'a terrier sits on a messy bed in front of the window', Sentence2: 'a mesh fence with the design of a cat incorporated into it'. Is the frequency of the word 'the' in two sentences equal?
Example Output: Yes

Example Input: Sentence1: 'two people with skateboards one is doing a jump', Sentence2: 'someone walking along the beach with their surf board'. Is the frequency of the word 'one' in two sentences equal?
Example Output:
No