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 little boy holding a baseball and wearing a glove', Sentence2: 'a childs cake on a plate with the name amelie on it'. Is the frequency of the word 'baseball' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'a double decker bus parked with its door open', Sentence2: 'a young man poses for a camera while wearing a tie but no shirt'. Is the frequency of the word 'man' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'a snowboarder is upside down in the air on a wooded snowy slope', Sentence2: 'a player on a baseball field getting ready to bat'. Is the frequency of the word 'a' in two sentences equal?
Example Output:
Yes