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 train going through town via railroad', Sentence2: 'a parent is pulling their child down the ski slope'. Is the frequency of the word 'a' in two sentences equal?
Example Output: Yes

Example Input: Sentence1: 'a little boy enjoying a slice of pepperoni pizza in a restaurant', Sentence2: 'a parent is pulling their child down the ski slope'. Is the frequency of the word 'pizza' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'a snowboarder is upside down in the air on a wooded snowy slope', Sentence2: 'a small room with a bed small drawer and a table'. Is the frequency of the word 'a' in two sentences equal?
Example Output:
No