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: 'the jumping dog has caught a frisbee with its teeth', Sentence2: 'a woman sitting on a couch holding a smart phone'. Is the frequency of the word 'holding' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'a man laying on a pile of snow next to a snowboard inside of a building', Sentence2: 'a man in a vest standing in a bathroom'. Is the frequency of the word 'laying' in two sentences equal?
Example Output:
No