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

Example Input: Sentence1: 'five ladies sitting together at a tale outside a restaurant', Sentence2: 'a game of tennis is being played on a court as an audience looks on'. Is the frequency of the word 'restaurant' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'someone walking along the beach with their surf board', Sentence2: 'man on surfboard surfing down a large wave'. Is the frequency of the word 'with' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'a road sign sitting next to a road and a building', Sentence2: 'two brown horses with harnesses pulling a red carriage'. Is the frequency of the word 'red' in two sentences equal?
Example Output:
No