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 couple of elephant statues standing in a museum', Sentence2: 'a stop sign under a street lamp is shining at night'. Is the frequency of the word 'lamp' in two sentences equal?
Example Output: No

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: 'several ponies eating grass and walking in a field', Sentence2: 'a table with a bowl of pasta and a bowl of salad'. Is the frequency of the word 'and' in two sentences equal?
Example Output:
Yes