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 group of seagulls and one long legged bird with a long thin beak standing in the sand of a shore line', Sentence2: 'a large bag filled with clothes and shoes'. Is the frequency of the word 'with' in two sentences equal?
Example Output: Yes

Example Input: Sentence1: 'cow looking over its enclosure while in an open pasture', Sentence2: 'a plate with a pizza and vegetables on it'. Is the frequency of the word 'over' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'a man with a white shirt and a tie', Sentence2: 'a man at a table with his computer and a cat'. Is the frequency of the word 'with' in two sentences equal?
Example Output:
Yes