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: 'two giraffes are walking through tall grass in open plains', Sentence2: 'a plate with a pizza and vegetables on it'. Is the frequency of the word 'through' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'a lady flies a kite with double strings into a big blue sky', Sentence2: 'a airplane that is flying in the sky'. Is the frequency of the word 'sky' in two sentences equal?
Example Output:
Yes