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 very big travel bus with passengers  waiting on their luggage', Sentence2: 'a teenager riding a skateboard down a street'. Is the frequency of the word 'down' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'a panda resting on a hard surface on the ground', Sentence2: 'a big thomas the train replica sits parked on display'. Is the frequency of the word 'the' in two sentences equal?
Example Output:
Yes