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 is leaning over in the snow and casting a shadow', Sentence2: 'a person is holding a remote control in their hand'. Is the frequency of the word 'the' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'a group of yellow traffic signals sitting next to each other', Sentence2: 'a bear claw donut and a glazed donut on a white plate with a red coffee cup'. Is the frequency of the word 'a' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'the surfer is about to fall head first into the surf', Sentence2: 'a man in an orange ski suit riding down a snow covered mountain'. Is the frequency of the word 'riding' in two sentences equal?
Example Output:
No