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

Example Input: Sentence1: 'people playing a game in a wood gated field', Sentence2: 'a teddy bear sits next to a small pair of black boots'. Is the frequency of the word 'a' in two sentences equal?
Example Output: Yes

Example Input: Sentence1: 'an image of a man throwing his hands and waving out of a car', Sentence2: 'a man riding a wave on top of a surfboard'. Is the frequency of the word 'of' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'a close up of a baseball player putting on a helmet', Sentence2: 'a man standing in the rain with an umbrella'. Is the frequency of the word 'player' in two sentences equal?
Example Output:
No