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

Example Input: Sentence1: 'an elephants foot with what appears to be a sandal on', Sentence2: 'a made up bed with a night stand and lamp'. Is the frequency of the word 'with' in two sentences equal?
Example Output: Yes

Example Input: Sentence1: 'batter at baseball game concentrating and getting ready to swing', Sentence2: 'a large fluffy cat sitting inside of a desk drawer'. Is the frequency of the word 'at' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'a man sitting on top of a train traveling through a forest hillside', Sentence2: 'a cat sitting on top of a chair next to a red wall'. Is the frequency of the word 'top' in two sentences equal?
Example Output:
Yes