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 horsedrawn carriage rides along a street in front of some tractors and people eating outside a restaurant', Sentence2: 'a little boy and girl sitting at a table eating some food'. Is the frequency of the word 'eating' in two sentences equal?
Example Output: Yes

Example Input: Sentence1: 'a girl wearing a hat and dress while holding a purse that looks like a clock', Sentence2: 'a train going through town via railroad'. Is the frequency of the word 'railroad' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'a group of people and cow outside of a hut', Sentence2: 'the black and white cows are running in the grass'. Is the frequency of the word 'and' in two sentences equal?
Example Output:
Yes