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 girl wearing a hat and dress while holding a purse that looks like a clock', Sentence2: 'a train going through town via railroad'. Is the frequency of the word 'railroad' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'a baseball player holding a bat on a field', Sentence2: 'a silver bucket a white and blue curtain an apple and a controller'. Is the frequency of the word 'white' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'two white bears on the rocky shore of some water', Sentence2: 'a person on snow skis looks down a snow covered ski slope surrounded by trees'. Is the frequency of the word 'of' in two sentences equal?
Example Output:
No