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 yellow commuter train traveling through a train station'. Is the frequency of the word 'a' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'a man standing by a table with figurines on it', Sentence2: 'a made up bed with a night stand and lamp'. Is the frequency of the word 'night' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'a black and white colored cat on top of a wooden bench', Sentence2: 'two mallards float and drink water in a shallow pool'. Is the frequency of the word 'a' in two sentences equal?
Example Output:
No