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 woman sitting at a table eating a piece of pizza', Sentence2: 'a small girl in a brown and pink dress and a brown cake with two candles'. Is the frequency of the word 'cake' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'the motorcycle riders are attempting very difficult tricks', Sentence2: 'girl holding homemade pizza on a big oven sheet'. Is the frequency of the word 'a' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'a skate boarder pauses at the top of a hill', Sentence2: 'a group of giraffes in a closed in environment near a building'. Is the frequency of the word 'of' in two sentences equal?
Example Output:
Yes