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: '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 'plate' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'a man walking in front of a grand building', Sentence2: 'a white street sign sitting on the side of a driveway'. Is the frequency of the word 'a' in two sentences equal?
Example Output:
Yes