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: 'people shaking hands across a tennis net while other couples play behind them'. Is the frequency of the word 'a' in two sentences equal?
Example Output: Yes

Example Input: Sentence1: 'a brown and white cat beside a laptop computer', Sentence2: 'a panini pckle and broccoli lying on top of a tray'. Is the frequency of the word 'beside' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'a fire hydrant that is sitting on a sidewalk', Sentence2: 'a red train that is on a rail road track'. Is the frequency of the word 'is' in two sentences equal?
Example Output:
Yes