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: 'a photo of a crowd of people getting ready to ski', Sentence2: 'party food is sitting in containers and plates on top of a stove'. Is the frequency of the word 'sitting' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'two plates on a table with some little sandwiches on them', Sentence2: 'the large grey sofas have throw pillows on them'. Is the frequency of the word 'them' in two sentences equal?
Example Output:
Yes