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 brown and white cake a candle and a girl', Sentence2: 'a smiling person taking an elephant ride near the handler'. Is the frequency of the word 'person' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'a tall giraffe in a zoo eating branches', Sentence2: 'a tennis player in a black shirt playing tennis'. Is the frequency of the word 'playing' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'a large pitcher of some beverage is on the table next to orange slices', Sentence2: 'the boy wearing the number 14 is getting ready to bat'. Is the frequency of the word 'is' in two sentences equal?
Example Output:
Yes