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

Example Input: Sentence1: 'an army transport truck sitting near a forest', Sentence2: 'a lot of plants and greenery with a train in the background'. Is the frequency of the word 'a' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'woman and two teens hanging out at a table using electronics', Sentence2: 'kitchen counter scene of wooden cabinets and dozens of knives hanging from them'. Is the frequency of the word 'hanging' in two sentences equal?
Example Output:
Yes