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 white plate of hamburgers and french fries', Sentence2: 'a vase of spider mums sit on the coffee table'. Is the frequency of the word 'of' in two sentences equal?
Example Output: Yes

Example Input: Sentence1: 'an image of a set of bikes parked outside', Sentence2: 'a big fat orange cat is sitting on top of a mans macbook pro'. Is the frequency of the word 'of' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'a train has graffiti and windows on it', Sentence2: 'a airplane view of a big factory some people and cars'. Is the frequency of the word 'has' in two sentences equal?
Example Output:
No