In this task, answer 'Yes' if the frequency of the given word in the two sentences is equal, else answer 'No'.

Input: Consider Input: Sentence1: 'a local celebrity rides through the town on a decked out horse as a person holds a golden umbrella above his head', Sentence2: 'a large bus and a car on a street'. Is the frequency of the word 'through' in two sentences equal?

Output: No

Input: Consider Input: Sentence1: 'a partially eaten pizza with empty plate in foreground', Sentence2: 'a woman hitting a tennis ball with a tennis racket'. Is the frequency of the word 'partially' in two sentences equal?

Output: No

Input: Consider Input: Sentence1: 'cow looking over its enclosure while in an open pasture', Sentence2: 'a man stands in front of a safari jeep and a horse'. Is the frequency of the word 'in' in two sentences equal?
Output: Yes