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 large brown bull standing behind a metal fence', Sentence2: 'a person holds a ring up to their face'. Is the frequency of the word 'up' in two sentences equal?
Example Output: 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 stuffed animal cat on top of the steering wheel in a car', Sentence2: 'a person laying on a bed reading a book'. Is the frequency of the word 'on' in two sentences equal?
Example Output:
Yes