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 man sitting in front of a pizza on top of a white paper', Sentence2: 'a man standing next to a baseball plate holding a bat'. Is the frequency of the word 'front' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'cow looking over its enclosure while in an open pasture', Sentence2: 'a plate with a pizza and vegetables on it'. Is the frequency of the word 'over' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'a man with a helmet is on a surfboard', Sentence2: 'a pizza sitting on top of a red checkered table cloth'. Is the frequency of the word 'on' in two sentences equal?
Example Output:
Yes