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 smiling young woman with open yellow umbrella standing in front of a castlelike building', Sentence2: 'people on a car driving past elephants and a hippo'. Is the frequency of the word 'open' in two sentences equal?
Example Output: 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 player on a baseball field getting ready to bat', Sentence2: 'a group of people surfing the waves on boards in the ocean'. Is the frequency of the word 'on' in two sentences equal?
Example Output:
Yes