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

Example Input: Sentence1: 'three giraffes including a baby giraffe step through the brown grass', Sentence2: 'a church with some tents with items for sale in front of it'. Is the frequency of the word 'items' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'a man riding a wave on top of a surfboard', Sentence2: 'a sandwich sitting on top of a frying pan'. Is the frequency of the word 'sandwich' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'a man swinging a tennis racket at a tennis ball', Sentence2: 'a man and woman sitting on surfboards in the ocean'. Is the frequency of the word 'man' in two sentences equal?
Example Output:
Yes