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: 'people are looking at tables full of stuff', Sentence2: 'an elephant wearing a red sheet in front of a building'. Is the frequency of the word 'of' in two sentences equal?
Example Output: Yes

Example Input: Sentence1: 'a small white bathroom with brown spotted tiles', Sentence2: 'a boy sits on top of a suitcase and between two other stacks of luggage'. Is the frequency of the word 'a' in two sentences equal?
Example Output:
No