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 holding a tennis ball and a racquet', Sentence2: 'a man riding down the side of a skateboard ramp'. Is the frequency of the word 'riding' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'two adults and several children playing wicker ball in a fenced in backyard', Sentence2: 'an old boat sits on a trailer hitch'. Is the frequency of the word 'a' in two sentences equal?
Example Output:
Yes